Package org.apache.flink.sql.parser.ddl
Class SqlAlterMaterializedTableFreshness
java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlCall
org.apache.flink.sql.parser.ddl.SqlAlterMaterializedTable
org.apache.flink.sql.parser.ddl.SqlAlterMaterializedTableFreshness
- All Implemented Interfaces:
Cloneable
SqlNode to describe ALTER MATERIALIZED TABLE [catalogName.] [dataBasesName.]tableName SET
FRESHNESS = INTERVAL '<num>' { SECOND | MINUTE | HOUR | DAY } clause.
-
Field Summary
Fields inherited from class org.apache.flink.sql.parser.ddl.SqlAlterMaterializedTable
OPERATOR, tableIdentifierFields inherited from class org.apache.calcite.sql.SqlNode
EMPTY_ARRAY, pos -
Constructor Summary
ConstructorsConstructorDescriptionSqlAlterMaterializedTableFreshness(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlIntervalLiteral freshness) -
Method Summary
Methods inherited from class org.apache.flink.sql.parser.ddl.SqlAlterMaterializedTable
fullTableName, getOperator, getTableNameMethods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateMethods 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 Details
-
SqlAlterMaterializedTableFreshness
public SqlAlterMaterializedTableFreshness(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlIntervalLiteral freshness)
-
-
Method Details
-
getOperandList
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
getFreshness
public org.apache.calcite.sql.SqlIntervalLiteral getFreshness() -
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec) - Overrides:
unparsein classSqlAlterMaterializedTable
-