public class SqlChangeColumn extends SqlAlterTable
SqlAlterTable.AlterTableContext
ifTableExists, OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlChangeColumn(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlIdentifier oldName,
SqlTableColumn newColumn,
org.apache.calcite.sql.SqlIdentifier after,
boolean first,
org.apache.calcite.sql.SqlNodeList properties) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlIdentifier |
getAfter() |
SqlTableColumn |
getNewColumn() |
org.apache.calcite.sql.SqlIdentifier |
getOldName() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlNodeList |
getProperties() |
boolean |
isFirst() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName, ifTableExists
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlChangeColumn(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlIdentifier oldName, SqlTableColumn newColumn, @Nullable org.apache.calcite.sql.SqlIdentifier after, boolean first, @Nullable org.apache.calcite.sql.SqlNodeList properties)
public org.apache.calcite.sql.SqlIdentifier getOldName()
public SqlTableColumn getNewColumn()
public org.apache.calcite.sql.SqlIdentifier getAfter()
public boolean isFirst()
public org.apache.calcite.sql.SqlNodeList getProperties()
@Nonnull public List<org.apache.calcite.sql.SqlNode> getOperandList()
getOperandList
in class org.apache.calcite.sql.SqlCall
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class SqlAlterTable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.