public class SqlAddReplaceColumns extends SqlAlterTable
SqlAlterTable.AlterTableContext
OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAddReplaceColumns(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList newColumns,
boolean replace,
org.apache.calcite.sql.SqlNodeList properties) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlNodeList |
getNewColumns() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlNodeList |
getProperties() |
boolean |
isReplace() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlAddReplaceColumns(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList newColumns, boolean replace, @Nullable org.apache.calcite.sql.SqlNodeList properties)
public org.apache.calcite.sql.SqlNodeList getNewColumns()
public boolean isReplace()
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.