public final class HiveMultiJoin
extends org.apache.calcite.rel.AbstractRelNode
| Constructor and Description |
|---|
HiveMultiJoin(org.apache.calcite.plan.RelOptCluster cluster,
List<org.apache.calcite.rel.RelNode> inputs,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.type.RelDataType rowType,
List<org.apache.calcite.util.Pair<Integer,Integer>> joinInputs,
List<org.apache.calcite.rel.core.JoinRelType> joinTypes,
List<org.apache.calcite.rex.RexNode> filters) |
HiveMultiJoin(org.apache.calcite.plan.RelOptCluster cluster,
List<org.apache.calcite.rel.RelNode> inputs,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.type.RelDataType rowType,
List<org.apache.calcite.util.Pair<Integer,Integer>> joinInputs,
List<org.apache.calcite.rel.core.JoinRelType> joinTypes,
List<org.apache.calcite.rex.RexNode> filters,
HiveCalciteUtil.JoinPredicateInfo joinPredicateInfo)
Constructs a MultiJoin.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
accept(org.apache.calcite.rex.RexShuttle shuttle) |
org.apache.calcite.rel.RelNode |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelNode> inputs) |
org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
List<org.apache.calcite.rex.RexNode> |
getChildExps() |
org.apache.calcite.rex.RexNode |
getCondition() |
List<org.apache.calcite.rel.RelNode> |
getInputs() |
List<org.apache.calcite.rex.RexNode> |
getJoinFilters() |
List<org.apache.calcite.util.Pair<Integer,Integer>> |
getJoinInputs() |
HiveCalciteUtil.JoinPredicateInfo |
getJoinPredicateInfo() |
List<org.apache.calcite.rel.core.JoinRelType> |
getJoinTypes() |
boolean |
isOuterJoin() |
void |
replaceInput(int ordinalInParent,
org.apache.calcite.rel.RelNode p) |
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, computeSelfCost, estimateRowCount, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringpublic HiveMultiJoin(org.apache.calcite.plan.RelOptCluster cluster,
List<org.apache.calcite.rel.RelNode> inputs,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.type.RelDataType rowType,
List<org.apache.calcite.util.Pair<Integer,Integer>> joinInputs,
List<org.apache.calcite.rel.core.JoinRelType> joinTypes,
List<org.apache.calcite.rex.RexNode> filters,
HiveCalciteUtil.JoinPredicateInfo joinPredicateInfo)
cluster - cluster that join belongs toinputs - inputs into this multi-joincondition - join filter applicable to this join noderowType - row type of the join result of this nodejoinInputs - joinTypes - the join type corresponding to each input; if
an input is null-generating in a left or right
outer join, the entry indicates the type of
outer join; otherwise, the entry is set to
INNERfilters - filters associated with each join
inputjoinPredicateInfo - join predicate informationpublic HiveMultiJoin(org.apache.calcite.plan.RelOptCluster cluster,
List<org.apache.calcite.rel.RelNode> inputs,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.type.RelDataType rowType,
List<org.apache.calcite.util.Pair<Integer,Integer>> joinInputs,
List<org.apache.calcite.rel.core.JoinRelType> joinTypes,
List<org.apache.calcite.rex.RexNode> filters)
public void replaceInput(int ordinalInParent,
org.apache.calcite.rel.RelNode p)
replaceInput in interface org.apache.calcite.rel.RelNodereplaceInput in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.RelNode copy(org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelNode> inputs)
copy in interface org.apache.calcite.rel.RelNodecopy in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType in class org.apache.calcite.rel.AbstractRelNodepublic List<org.apache.calcite.rel.RelNode> getInputs()
getInputs in interface org.apache.calcite.plan.RelOptNodegetInputs in interface org.apache.calcite.rel.RelNodegetInputs in class org.apache.calcite.rel.AbstractRelNodepublic List<org.apache.calcite.rex.RexNode> getChildExps()
getChildExps in interface org.apache.calcite.rel.RelNodegetChildExps in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.RelNode accept(org.apache.calcite.rex.RexShuttle shuttle)
accept in interface org.apache.calcite.rel.RelNodeaccept in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rex.RexNode getCondition()
public boolean isOuterJoin()
public List<org.apache.calcite.util.Pair<Integer,Integer>> getJoinInputs()
public List<org.apache.calcite.rel.core.JoinRelType> getJoinTypes()
public List<org.apache.calcite.rex.RexNode> getJoinFilters()
public HiveCalciteUtil.JoinPredicateInfo getJoinPredicateInfo()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.