public class SqlDistribution
extends org.apache.calcite.sql.SqlCall
DISTRIBUTED BY HASH(column1, column2)
INTO BUCKETS 10
.Constructor and Description |
---|
SqlDistribution(org.apache.calcite.sql.parser.SqlParserPos pos,
String distributionKind,
org.apache.calcite.sql.SqlNodeList bucketColumns,
org.apache.calcite.sql.SqlNumericLiteral bucketCount) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlNodeList |
getBucketColumns() |
org.apache.calcite.sql.SqlNumericLiteral |
getBucketCount() |
Optional<String> |
getDistributionKind() |
List<org.apache.calcite.sql.SqlNode> |
getOperandList() |
org.apache.calcite.sql.SqlOperator |
getOperator() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
unparseAlter(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 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 void unparseAlter(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
public org.apache.calcite.sql.SqlNumericLiteral getBucketCount()
public org.apache.calcite.sql.SqlNodeList getBucketColumns()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.