public class SqlAddPartitions extends SqlAlterTable
SqlAlterTable.AlterTableContext
ifTableExists, OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAddPartitions(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
boolean ifPartitionNotExists,
List<org.apache.calcite.sql.SqlNodeList> partSpecs,
List<org.apache.calcite.sql.SqlNodeList> partProps) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
LinkedHashMap<String,String> |
getPartitionKVs(int i) |
List<org.apache.calcite.sql.SqlNodeList> |
getPartProps() |
List<org.apache.calcite.sql.SqlNodeList> |
getPartSpecs() |
boolean |
ifPartitionNotExists() |
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 boolean ifPartitionNotExists()
public List<org.apache.calcite.sql.SqlNodeList> getPartSpecs()
public LinkedHashMap<String,String> getPartitionKVs(int i)
public List<org.apache.calcite.sql.SqlNodeList> getPartProps()
@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.