Class SqlCreateMaterializedTable

    • Field Detail

      • CREATE_OPERATOR

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

      • SqlCreateMaterializedTable

        public SqlCreateMaterializedTable​(org.apache.calcite.sql.SqlSpecialOperator operator,
                                          org.apache.calcite.sql.parser.SqlParserPos pos,
                                          org.apache.calcite.sql.SqlIdentifier tableName,
                                          org.apache.calcite.sql.SqlNodeList columnList,
                                          List<SqlTableConstraint> tableConstraints,
                                          SqlWatermark watermark,
                                          @Nullable
                                          org.apache.calcite.sql.SqlCharStringLiteral comment,
                                          @Nullable
                                          SqlDistribution distribution,
                                          org.apache.calcite.sql.SqlNodeList partitionKeyList,
                                          org.apache.calcite.sql.SqlNodeList propertyList,
                                          @Nullable
                                          org.apache.calcite.sql.SqlIntervalLiteral freshness,
                                          @Nullable
                                          SqlRefreshMode refreshMode,
                                          @Nullable
                                          SqlStartMode startMode,
                                          org.apache.calcite.sql.SqlNode asQuery)
    • Method Detail

      • getOperandList

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

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

        public List<String> getPartitionKeyList()
      • getFreshness

        @Nullable
        public org.apache.calcite.sql.SqlIntervalLiteral getFreshness()
      • getStartMode

        @Nullable
        public SqlStartMode getStartMode()
      • getAsQuery

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

        public List<SqlTableConstraint> getFullConstraints()
        Returns the column constraints plus the table constraints.
      • isSchemaWithColumnsIdentifiersOnly

        public boolean isSchemaWithColumnsIdentifiersOnly()
      • unparse

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