public abstract class JoinPrel extends DrillJoinRelBase implements Prel
| Modifier and Type | Field and Description |
|---|---|
protected JoinUtils.JoinCategory |
joincategory |
filterNulls, leftKeys, rightKeysDRILL_PHYSICAL| Constructor and Description |
|---|
JoinPrel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.core.JoinRelType joinType) |
| Modifier and Type | Method and Description |
|---|---|
<T,X,E extends Throwable> |
accept(PrelVisitor<T,X,E> logicalVisitor,
X value) |
protected void |
buildJoinConditions(List<JoinCondition> conditions,
List<String> leftFields,
List<String> rightFields,
List<Integer> leftKeys,
List<Integer> rightKeys)
Build the list of join conditions for this join.
|
org.apache.calcite.rel.RelNode |
getJoinInput(int offset,
org.apache.calcite.rel.RelNode input)
Check to make sure that the fields of the inputs are the same as the output field names.
|
Iterator<Prel> |
iterator() |
boolean |
needsFinalColumnReordering() |
computeCartesianJoinCost, computeHashJoinCost, computeLogicalJoinCost, computeSelfCost, estimateRowCount, getLeftKeys, getRightKeys, isUnique, uniqueFieldNamesaccept, analyzeCondition, copy, copy, createJoinType, deriveJoinRowType, deriveRowType, estimateJoinedRows, explainTerms, getChildExps, getCondition, getJoinType, getSystemFieldList, getVariablesStopped, isSemiJoinDone, isValid_childrenAccept, getInputs, getLeft, getRight, replaceInputaccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncoding, getPhysicalOperator, getSupportedEncodingsaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, replaceInputprotected JoinUtils.JoinCategory joincategory
public JoinPrel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode left,
org.apache.calcite.rel.RelNode right,
org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.core.JoinRelType joinType)
throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionpublic <T,X,E extends Throwable> T accept(PrelVisitor<T,X,E> logicalVisitor, X value) throws E extends Throwable
public org.apache.calcite.rel.RelNode getJoinInput(int offset,
org.apache.calcite.rel.RelNode input)
implementor - i - offset - input - public boolean needsFinalColumnReordering()
needsFinalColumnReordering in interface Prelprotected void buildJoinConditions(List<JoinCondition> conditions, List<String> leftFields, List<String> rightFields, List<Integer> leftKeys, List<Integer> rightKeys)
org.apache.calcite.rel.rules.RemoveDistinctAggregateRuleconditions - populated list of join conditionsleftFields - join fields from the left inputrightFields - join fields from the right inputCopyright © 2017 The Apache Software Foundation. All rights reserved.