public class SqlShowPartitions
extends org.apache.calcite.sql.SqlCall
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
Constructor and Description |
---|
SqlShowPartitions(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList partitionSpec) |
Modifier and Type | Method and Description |
---|---|
String[] |
fullTableName() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
LinkedHashMap<String,String> |
getPartitionKVs()
Get partition spec as key-value strings.
|
org.apache.calcite.sql.SqlNodeList |
getPartitionSpec()
Returns the partition spec if the SHOW should be applied to partitions, and null otherwise.
|
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public SqlShowPartitions(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, @Nullable org.apache.calcite.sql.SqlNodeList partitionSpec)
public org.apache.calcite.sql.SqlOperator getOperator()
getOperator
in class org.apache.calcite.sql.SqlCall
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 org.apache.calcite.sql.SqlCall
public String[] fullTableName()
public org.apache.calcite.sql.SqlNodeList getPartitionSpec()
public LinkedHashMap<String,String> getPartitionKVs()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.