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 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,
boolean ifTableExists) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.sql.SqlNodeList |
getColumnPositions() |
List<SqlTableConstraint> |
getConstraints() |
Optional<SqlTableConstraint> |
getFullConstraint() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
Optional<SqlWatermark> |
getWatermark() |
void |
validate() |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName, ifTableExists, unparseaccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validateprotected final org.apache.calcite.sql.SqlNodeList columnList
@Nullable protected final SqlWatermark watermark
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,
boolean ifTableExists)
@Nonnull public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList in class org.apache.calcite.sql.SqlCallpublic void validate()
throws SqlValidateException
validate in interface ExtendedSqlNodeSqlValidateExceptionpublic org.apache.calcite.sql.SqlNodeList getColumnPositions()
public Optional<SqlWatermark> getWatermark()
public List<SqlTableConstraint> getConstraints()
public Optional<SqlTableConstraint> getFullConstraint()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.