public class SqlAddPartitions extends SqlAlterTable
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlAddPartitions.AlterTableAddPartitionContext
Alter table add partition context.
|
SqlAlterTable.AlterTableContextifTableExists, 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, ifTableExistsaccept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validatepublic 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.SqlCallpublic void unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec)
unparse in class SqlAlterTableCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.