Class SqlAlterMaterializedTableRefresh

  • All Implemented Interfaces:
    Cloneable

    public class SqlAlterMaterializedTableRefresh
    extends SqlAlterMaterializedTable
    SqlNode to describe ALTER MATERIALIZED TABLE [catalog_name.][db_name.]table_name REFRESH [PARTITION (key1=val1, key2=val2, ...)] clause.
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlAlterMaterializedTableRefresh​(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList partitionSpec)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.apache.calcite.sql.SqlNode> getOperandList()  
      org.apache.calcite.sql.SqlNodeList getPartitionSpec()  
      void unparse​(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)  
      • Methods inherited from class org.apache.calcite.sql.SqlCall

        accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
      • Methods inherited from class org.apache.calcite.sql.SqlNode

        clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr
    • Constructor Detail

      • SqlAlterMaterializedTableRefresh

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

      • getOperandList

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

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

        public org.apache.calcite.sql.SqlNodeList getPartitionSpec()