public class SqlAnalyzeTable
extends org.apache.calcite.sql.SqlCall
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.sql.SqlSpecialOperator |
OPERATOR |
Constructor and Description |
---|
SqlAnalyzeTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList partitions,
org.apache.calcite.sql.SqlNodeList columns,
boolean allColumns) |
Modifier and Type | Method and Description |
---|---|
String[] |
fullTableName() |
String[] |
getColumnNames() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
LinkedHashMap<String,String> |
getPartitions()
Get partition spec as key-value strings, if only partition key is given, the corresponding
value is null.
|
boolean |
isAllColumns() |
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 SqlAnalyzeTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList partitions, org.apache.calcite.sql.SqlNodeList columns, boolean allColumns)
public String[] fullTableName()
public LinkedHashMap<String,String> getPartitions()
public String[] getColumnNames()
public boolean isAllColumns()
@Nonnull public org.apache.calcite.sql.SqlOperator getOperator()
getOperator
in class org.apache.calcite.sql.SqlCall
@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 org.apache.calcite.sql.SqlCall
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.