Package org.apache.calcite.rel.core
Class EquiJoin
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.rel.BiRel
-
- org.apache.calcite.rel.core.Join
-
- org.apache.calcite.rel.core.EquiJoin
-
- All Implemented Interfaces:
java.lang.Cloneable
,RelOptNode
,RelNode
- Direct Known Subclasses:
EnumerableJoin
,EnumerableMergeJoin
,EquiJoin
,SemiJoin
public abstract class EquiJoin extends Join
Base class for any join whose condition is based on column equality.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
-
Field Summary
Fields Modifier and Type Field Description ImmutableIntList
leftKeys
ImmutableIntList
rightKeys
-
Fields inherited from class org.apache.calcite.rel.core.Join
condition, joinType, variablesSet
-
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet
-
-
Constructor Summary
Constructors Constructor Description EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
Creates an EquiJoin.EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinInfo
analyzeCondition()
Analyzes the join condition.ImmutableIntList
getLeftKeys()
ImmutableIntList
getRightKeys()
-
Methods inherited from class org.apache.calcite.rel.core.Join
accept, computeSelfCost, copy, copy, createJoinType, deriveJoinRowType, deriveRowType, estimateJoinedRows, estimateRowCount, explainTerms, getChildExps, getCondition, getJoinType, getSystemFieldList, getVariablesSet, isSemiJoinDone, isValid
-
Methods inherited from class org.apache.calcite.rel.BiRel
childrenAccept, getInputs, getLeft, getRight, replaceInput
-
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
-
-
-
-
Field Detail
-
leftKeys
public final ImmutableIntList leftKeys
-
rightKeys
public final ImmutableIntList rightKeys
-
-
Constructor Detail
-
EquiJoin
public EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, java.util.Set<CorrelationId> variablesSet, JoinRelType joinType)
Creates an EquiJoin.
-
EquiJoin
@Deprecated public EquiJoin(RelOptCluster cluster, RelTraitSet traits, RelNode left, RelNode right, RexNode condition, ImmutableIntList leftKeys, ImmutableIntList rightKeys, JoinRelType joinType, java.util.Set<java.lang.String> variablesStopped)
Deprecated.
-
-
Method Detail
-
getLeftKeys
public ImmutableIntList getLeftKeys()
-
getRightKeys
public ImmutableIntList getRightKeys()
-
analyzeCondition
public JoinInfo analyzeCondition()
Description copied from class:Join
Analyzes the join condition.- Overrides:
analyzeCondition
in classJoin
- Returns:
- Analyzed join condition
-
-