Class CreateTableStatementContext

    • Constructor Detail

      • CreateTableStatementContext

        public CreateTableStatementContext​(org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateTableStatement sqlStatement)
    • Method Detail

      • getSqlStatement

        public org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.CreateTableStatement getSqlStatement()
        Description copied from interface: SQLStatementContext
        Get SQL statement.
        Specified by:
        getSqlStatement in interface SQLStatementContext
        Returns:
        SQL statement
      • getAllTables

        public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment> getAllTables()
        Description copied from interface: TableAvailable
        Get all table segments.
        Specified by:
        getAllTables in interface TableAvailable
        Returns:
        all table segments
      • getIndexes

        public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.index.IndexSegment> getIndexes()
        Description copied from interface: IndexAvailable
        Get index segments.
        Specified by:
        getIndexes in interface IndexAvailable
        Returns:
        index segments
      • getConstraints

        public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.constraint.ConstraintSegment> getConstraints()
        Description copied from interface: ConstraintAvailable
        Get constraint segments.
        Specified by:
        getConstraints in interface ConstraintAvailable
        Returns:
        constraint segments
      • getIndexColumns

        public Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.column.ColumnSegment> getIndexColumns()
        Description copied from interface: IndexAvailable
        Get index columns.
        Specified by:
        getIndexColumns in interface IndexAvailable
        Returns:
        index columns