Package org.apache.calcite.rel.mutable
Class MutableUnion
- java.lang.Object
-
- org.apache.calcite.rel.mutable.MutableRel
-
- org.apache.calcite.rel.mutable.MutableMultiRel
-
- org.apache.calcite.rel.mutable.MutableSetOp
-
- org.apache.calcite.rel.mutable.MutableUnion
-
public class MutableUnion extends MutableSetOp
Mutable equivalent ofUnion
.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableSetOp
all
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableMultiRel
inputs
-
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
MutableUnion(RelOptCluster cluster, RelDataType rowType, java.util.List<MutableRel> inputs, boolean all)
-
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)
static MutableUnion
of(RelDataType rowType, java.util.List<MutableRel> inputs, boolean all)
Creates a MutableUnion.-
Methods inherited from class org.apache.calcite.rel.mutable.MutableSetOp
equals, hashCode, isAll
-
Methods inherited from class org.apache.calcite.rel.mutable.MutableMultiRel
childrenAccept, cloneChildren, getInputs, setInput
-
Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
-
-
-
Constructor Detail
-
MutableUnion
private MutableUnion(RelOptCluster cluster, RelDataType rowType, java.util.List<MutableRel> inputs, boolean all)
-
-
Method Detail
-
of
public static MutableUnion of(RelDataType rowType, java.util.List<MutableRel> inputs, boolean all)
Creates a MutableUnion.- Parameters:
rowType
- Row typeinputs
- Input relational expressionsall
- Whether the union result should include all rows or eliminate duplicates from input relational expressions
-
digest
public java.lang.StringBuilder digest(java.lang.StringBuilder buf)
- Specified by:
digest
in classMutableRel
-
clone
public MutableRel clone()
- Specified by:
clone
in classMutableRel
-
-