Class ShowSingleTableStatement

  • All Implemented Interfaces:
    org.apache.shardingsphere.sql.parser.api.ASTNode, org.apache.shardingsphere.sql.parser.sql.common.statement.available.FromDatabaseAvailable, org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement

    public final class ShowSingleTableStatement
    extends ShowTablesStatement
    Show single table statement.
    • Constructor Detail

      • ShowSingleTableStatement

        public ShowSingleTableStatement​(String tableName,
                                        String likePattern,
                                        org.apache.shardingsphere.sql.parser.sql.common.segment.generic.DatabaseSegment database)
    • Method Detail

      • getTableName

        public Optional<String> getTableName()
        Get table name.
        Returns:
        table name