Class ShowColumnsStatementContext
- java.lang.Object
-
- org.apache.shardingsphere.infra.binder.statement.CommonSQLStatementContext
-
- org.apache.shardingsphere.infra.binder.statement.dal.ShowColumnsStatementContext
-
- All Implemented Interfaces:
SQLStatementContext,RemoveAvailable,TableAvailable
public final class ShowColumnsStatementContext extends CommonSQLStatementContext implements TableAvailable, RemoveAvailable
Show columns statement context.
-
-
Constructor Summary
Constructors Constructor Description ShowColumnsStatementContext(org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.dal.MySQLShowColumnsStatement 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.SQLSegment>getRemoveSegments()Get remove segments.org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.dal.MySQLShowColumnsStatementgetSqlStatement()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.dialect.statement.mysql.dal.MySQLShowColumnsStatement 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
-
getRemoveSegments
public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.SQLSegment> getRemoveSegments()
Description copied from interface:RemoveAvailableGet remove segments.- Specified by:
getRemoveSegmentsin interfaceRemoveAvailable- Returns:
- remove segments
-
-