Package org.apache.calcite.rel.mutable
Class MutableJoin
- java.lang.Object
-
- org.apache.calcite.rel.mutable.MutableRel
-
- org.apache.calcite.rel.mutable.MutableBiRel
-
- org.apache.calcite.rel.mutable.MutableJoin
-
public class MutableJoin extends MutableBiRel
Mutable equivalent ofJoin
.
-
-
Field Summary
Fields Modifier and Type Field Description RexNode
condition
JoinRelType
joinType
java.util.Set<CorrelationId>
variablesSet
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableBiRel
left, right
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MutableJoin(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, JoinRelType joinType, java.util.Set<CorrelationId> variablesSet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableRel
clone()
java.lang.StringBuilder
digest(java.lang.StringBuilder buf)
boolean
equals(java.lang.Object obj)
int
hashCode()
static MutableJoin
of(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, JoinRelType joinType, java.util.Set<CorrelationId> variablesStopped)
Creates a MutableJoin.-
Methods inherited from class org.apache.calcite.rel.mutable.MutableBiRel
childrenAccept, getInputs, getLeft, getRight, setInput
-
Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
-
-
-
Field Detail
-
condition
public final RexNode condition
-
variablesSet
public final java.util.Set<CorrelationId> variablesSet
-
joinType
public final JoinRelType joinType
-
-
Constructor Detail
-
MutableJoin
private MutableJoin(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, JoinRelType joinType, java.util.Set<CorrelationId> variablesSet)
-
-
Method Detail
-
of
public static MutableJoin of(RelDataType rowType, MutableRel left, MutableRel right, RexNode condition, JoinRelType joinType, java.util.Set<CorrelationId> variablesStopped)
Creates a MutableJoin.- Parameters:
rowType
- Row typeleft
- Left input relational expressionright
- Right input relational expressioncondition
- Join conditionjoinType
- Join typevariablesStopped
- Set of variables that are set by the LHS and used by the RHS and are not available to nodes above this join in the tree
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
digest
public java.lang.StringBuilder digest(java.lang.StringBuilder buf)
- Specified by:
digest
in classMutableRel
-
clone
public MutableRel clone()
- Specified by:
clone
in classMutableRel
-
-