public class LogicalDistribution
extends org.apache.calcite.rel.SingleRel
LogicalDistribution is used to represent the expected distribution of the data, similar to Hive's SORT BY, DISTRIBUTE BY, and CLUSTER BY semantics.
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.RelNode |
accept(org.apache.calcite.rel.RelShuttle shuttle) |
LogicalDistribution |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelNode> inputs) |
static LogicalDistribution |
create(org.apache.calcite.rel.RelNode input,
org.apache.calcite.rel.RelCollation collation,
List<Integer> distKeys) |
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
org.apache.calcite.rel.RelCollation |
getCollation() |
List<Integer> |
getDistKeys() |
childrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInput
accept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
public static LogicalDistribution create(org.apache.calcite.rel.RelNode input, org.apache.calcite.rel.RelCollation collation, List<Integer> distKeys)
public org.apache.calcite.rel.RelCollation getCollation()
public LogicalDistribution copy(org.apache.calcite.plan.RelTraitSet traitSet, List<org.apache.calcite.rel.RelNode> inputs)
copy
in interface org.apache.calcite.rel.RelNode
copy
in class org.apache.calcite.rel.AbstractRelNode
public org.apache.calcite.rel.RelNode accept(org.apache.calcite.rel.RelShuttle shuttle)
accept
in interface org.apache.calcite.rel.RelNode
accept
in class org.apache.calcite.rel.AbstractRelNode
public org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms
in class org.apache.calcite.rel.SingleRel
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.