Package org.apache.calcite.rel.mutable
Class MutableCorrelate
- java.lang.Object
-
- org.apache.calcite.rel.mutable.MutableRel
-
- org.apache.calcite.rel.mutable.MutableBiRel
-
- org.apache.calcite.rel.mutable.MutableCorrelate
-
public class MutableCorrelate extends MutableBiRel
Mutable equivalent ofCorrelate
.
-
-
Field Summary
Fields Modifier and Type Field Description CorrelationId
correlationId
SemiJoinType
joinType
ImmutableBitSet
requiredColumns
-
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
MutableCorrelate(RelDataType rowType, MutableRel left, MutableRel right, CorrelationId correlationId, ImmutableBitSet requiredColumns, SemiJoinType joinType)
-
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 MutableCorrelate
of(RelDataType rowType, MutableRel left, MutableRel right, CorrelationId correlationId, ImmutableBitSet requiredColumns, SemiJoinType joinType)
Creates a MutableCorrelate.-
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
-
correlationId
public final CorrelationId correlationId
-
requiredColumns
public final ImmutableBitSet requiredColumns
-
joinType
public final SemiJoinType joinType
-
-
Constructor Detail
-
MutableCorrelate
private MutableCorrelate(RelDataType rowType, MutableRel left, MutableRel right, CorrelationId correlationId, ImmutableBitSet requiredColumns, SemiJoinType joinType)
-
-
Method Detail
-
of
public static MutableCorrelate of(RelDataType rowType, MutableRel left, MutableRel right, CorrelationId correlationId, ImmutableBitSet requiredColumns, SemiJoinType joinType)
Creates a MutableCorrelate.- Parameters:
rowType
- Row typeleft
- Left input relational expressionright
- Right input relational expressioncorrelationId
- Variable name for the row of left inputrequiredColumns
- Required columnsjoinType
- Join type
-
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
-
-