Class SqlCreateOrAlterMaterializedTable
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.calcite.sql.SqlDdl
-
- org.apache.calcite.sql.SqlCreate
-
- org.apache.flink.sql.parser.ddl.SqlCreateObject
-
- org.apache.flink.sql.parser.ddl.materializedtable.SqlCreateMaterializedTable
-
- org.apache.flink.sql.parser.ddl.materializedtable.SqlCreateOrAlterMaterializedTable
-
- All Implemented Interfaces:
Cloneable,ExtendedSqlNode
public class SqlCreateOrAlterMaterializedTable extends SqlCreateMaterializedTable
CREATE [OR ALTER] MATERIALIZED TABLE DDL sql call.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.sql.SqlSpecialOperatorCREATE_OR_ALTER_OPERATOR-
Fields inherited from class org.apache.flink.sql.parser.ddl.materializedtable.SqlCreateMaterializedTable
CREATE_OPERATOR
-
Fields inherited from class org.apache.flink.sql.parser.ddl.SqlCreateObject
comment, name, properties
-
-
Constructor Summary
Constructors Constructor Description SqlCreateOrAlterMaterializedTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList columnList, List<SqlTableConstraint> tableConstraints, SqlWatermark watermark, org.apache.calcite.sql.SqlCharStringLiteral comment, SqlDistribution distribution, org.apache.calcite.sql.SqlNodeList partitionKeyList, org.apache.calcite.sql.SqlNodeList propertyList, org.apache.calcite.sql.SqlIntervalLiteral freshness, SqlRefreshMode refreshMode, SqlStartMode startMode, org.apache.calcite.sql.SqlNode asQuery, boolean isOrAlter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidunparseCreateIfNotExists(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)-
Methods inherited from class org.apache.flink.sql.parser.ddl.materializedtable.SqlCreateMaterializedTable
getAsQuery, getColumnList, getDistribution, getFreshness, getFullConstraints, getOperandList, getPartitionKeyList, getRefreshMode, getScope, getStartMode, getTableConstraints, getWatermark, isSchemaWithColumnsIdentifiersOnly, unparse, validate
-
Methods inherited from class org.apache.flink.sql.parser.ddl.SqlCreateObject
getComment, getFullName, getName, getProperties, isIfNotExists, isTemporary
-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Constructor Detail
-
SqlCreateOrAlterMaterializedTable
public SqlCreateOrAlterMaterializedTable(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, boolean isOrAlter)
-
-
Method Detail
-
unparseCreateIfNotExists
protected void unparseCreateIfNotExists(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparseCreateIfNotExistsin classSqlCreateObject
-
-