Class AlterIndexStatementContext
- java.lang.Object
-
- org.apache.shardingsphere.infra.binder.statement.CommonSQLStatementContext
-
- org.apache.shardingsphere.infra.binder.statement.ddl.AlterIndexStatementContext
-
- All Implemented Interfaces:
SQLStatementContext,IndexAvailable,TableAvailable
public final class AlterIndexStatementContext extends CommonSQLStatementContext implements TableAvailable, IndexAvailable
Alter index statement context.
-
-
Constructor Summary
Constructors Constructor Description AlterIndexStatementContext(org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.AlterIndexStatement sqlStatement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment>getAllTables()Get all table segments.Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.ColumnSegment>getIndexColumns()Get index columns.Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.index.IndexSegment>getIndexes()Get index segments.org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.AlterIndexStatementgetSqlStatement()Get SQL statement.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.shardingsphere.infra.binder.statement.SQLStatementContext
getDatabaseType, getTablesContext
-
Methods inherited from interface org.apache.shardingsphere.infra.binder.type.TableAvailable
getTablesContext
-
-
-
-
Method Detail
-
getSqlStatement
public org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.AlterIndexStatement getSqlStatement()
Description copied from interface:SQLStatementContextGet SQL statement.- Specified by:
getSqlStatementin interfaceSQLStatementContext- Returns:
- SQL statement
-
getAllTables
public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> getAllTables()
Description copied from interface:TableAvailableGet all table segments.- Specified by:
getAllTablesin interfaceTableAvailable- Returns:
- all table segments
-
getIndexes
public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.index.IndexSegment> getIndexes()
Description copied from interface:IndexAvailableGet index segments.- Specified by:
getIndexesin interfaceIndexAvailable- Returns:
- index segments
-
getIndexColumns
public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.ColumnSegment> getIndexColumns()
Description copied from interface:IndexAvailableGet index columns.- Specified by:
getIndexColumnsin interfaceIndexAvailable- Returns:
- index columns
-
-