Class SqlCreateMaterializedTable

  • All Implemented Interfaces:
    Cloneable

    public class SqlCreateMaterializedTable
    extends org.apache.calcite.sql.SqlCreate
    CREATE MATERIALIZED TABLE DDL sql call.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.calcite.sql.SqlSpecialOperator OPERATOR  
      • Fields inherited from class org.apache.calcite.sql.SqlCreate

        ifNotExists
      • Fields inherited from class org.apache.calcite.sql.SqlDdl

        DDL_OPERATOR
      • Fields inherited from class org.apache.calcite.sql.SqlNode

        EMPTY_ARRAY, pos
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlCreateMaterializedTable​(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlCharStringLiteral comment, SqlTableConstraint tableConstraint, org.apache.calcite.sql.SqlNodeList partitionKeyList, org.apache.calcite.sql.SqlNodeList propertyList, org.apache.calcite.sql.SqlIntervalLiteral freshness, org.apache.calcite.sql.SqlLiteral refreshMode, org.apache.calcite.sql.SqlNode asQuery)  
    • Field Detail

      • OPERATOR

        public static final org.apache.calcite.sql.SqlSpecialOperator OPERATOR
    • Constructor Detail

      • SqlCreateMaterializedTable

        public SqlCreateMaterializedTable​(org.apache.calcite.sql.parser.SqlParserPos pos,
                                          org.apache.calcite.sql.SqlIdentifier tableName,
                                          @Nullable
                                          org.apache.calcite.sql.SqlCharStringLiteral comment,
                                          @Nullable
                                          SqlTableConstraint tableConstraint,
                                          org.apache.calcite.sql.SqlNodeList partitionKeyList,
                                          org.apache.calcite.sql.SqlNodeList propertyList,
                                          org.apache.calcite.sql.SqlIntervalLiteral freshness,
                                          @Nullable
                                          org.apache.calcite.sql.SqlLiteral refreshMode,
                                          org.apache.calcite.sql.SqlNode asQuery)
    • Method Detail

      • getOperator

        public org.apache.calcite.sql.SqlOperator getOperator()
        Overrides:
        getOperator in class org.apache.calcite.sql.SqlDdl
      • getOperandList

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

        public org.apache.calcite.sql.SqlIdentifier getTableName()
      • fullTableName

        public String[] fullTableName()
      • getComment

        public Optional<org.apache.calcite.sql.SqlCharStringLiteral> getComment()
      • getPartitionKeyList

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

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

        public org.apache.calcite.sql.SqlIntervalLiteral getFreshness()
      • getRefreshMode

        public Optional<org.apache.calcite.sql.SqlLiteral> getRefreshMode()
      • getAsQuery

        public org.apache.calcite.sql.SqlNode getAsQuery()
      • unparse

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