Class SqlAlterTableOptions

  • All Implemented Interfaces:
    Cloneable

    public class SqlAlterTableOptions
    extends SqlAlterTable
    ALTER TABLE [IF EXISTS] [[catalogName.] dataBasesName].tableName SET ( name=value [, name=value]*).
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList propertyList, boolean ifTableExists)  
      SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList partitionSpec, org.apache.calcite.sql.SqlNodeList propertyList)  
      SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList partitionSpec, org.apache.calcite.sql.SqlNodeList propertyList, boolean ifTableExists)  
    • Constructor Detail

      • SqlAlterTableOptions

        public SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos,
                                    org.apache.calcite.sql.SqlIdentifier tableName,
                                    org.apache.calcite.sql.SqlNodeList propertyList,
                                    boolean ifTableExists)
      • SqlAlterTableOptions

        public SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos,
                                    org.apache.calcite.sql.SqlIdentifier tableName,
                                    org.apache.calcite.sql.SqlNodeList partitionSpec,
                                    org.apache.calcite.sql.SqlNodeList propertyList)
      • SqlAlterTableOptions

        public SqlAlterTableOptions​(org.apache.calcite.sql.parser.SqlParserPos pos,
                                    org.apache.calcite.sql.SqlIdentifier tableName,
                                    org.apache.calcite.sql.SqlNodeList partitionSpec,
                                    org.apache.calcite.sql.SqlNodeList propertyList,
                                    boolean ifTableExists)
    • Method Detail

      • getOperandList

        public List<org.apache.calcite.sql.SqlNode> getOperandList()
        Specified by:
        getOperandList in class org.apache.calcite.sql.SqlCall
      • getPropertyList

        public org.apache.calcite.sql.SqlNodeList getPropertyList()
      • unparse

        public void unparse​(org.apache.calcite.sql.SqlWriter writer,
                            int leftPrec,
                            int rightPrec)
        Overrides:
        unparse in class SqlAlterTable