public abstract class SqlAlterTableSchema extends SqlAlterTable implements ExtendedSqlNode
SqlAlterTable.AlterTableContext
Modifier and Type | Field and Description |
---|---|
protected org.apache.calcite.sql.SqlNodeList |
columnList |
protected List<SqlTableConstraint> |
constraints |
protected SqlDistribution |
distribution |
protected SqlWatermark |
watermark |
ifTableExists, OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAlterTableSchema(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList columnList,
List<SqlTableConstraint> constraints,
SqlWatermark sqlWatermark,
SqlDistribution distribution,
boolean ifTableExists) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlNodeList |
getColumnPositions() |
List<SqlTableConstraint> |
getConstraints() |
Optional<SqlDistribution> |
getDistribution() |
Optional<SqlTableConstraint> |
getFullConstraint() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
Optional<SqlWatermark> |
getWatermark() |
void |
validate() |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName, ifTableExists, unparse
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
protected final org.apache.calcite.sql.SqlNodeList columnList
@Nullable protected final SqlWatermark watermark
@Nullable protected final SqlDistribution distribution
protected final List<SqlTableConstraint> constraints
public SqlAlterTableSchema(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList columnList, List<SqlTableConstraint> constraints, @Nullable SqlWatermark sqlWatermark, @Nullable SqlDistribution distribution, boolean ifTableExists)
@Nonnull public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public void validate() throws SqlValidateException
validate
in interface ExtendedSqlNode
SqlValidateException
public org.apache.calcite.sql.SqlNodeList getColumnPositions()
public Optional<SqlWatermark> getWatermark()
public Optional<SqlDistribution> getDistribution()
public List<SqlTableConstraint> getConstraints()
public Optional<SqlTableConstraint> getFullConstraint()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.