Package org.apache.calcite.rel.mutable
Class Holder
- java.lang.Object
-
- org.apache.calcite.rel.mutable.MutableRel
-
- org.apache.calcite.rel.mutable.MutableSingleRel
-
- org.apache.calcite.rel.mutable.Holder
-
public class Holder extends MutableSingleRel
Implementation ofMutableRel
whose only purpose is to have a child. Used as the root of a tree.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.rel.mutable.MutableSingleRel
input
-
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
Holder(RelDataType rowType, MutableRel input)
-
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 Holder
of(MutableRel input)
Creates a Holder.-
Methods inherited from class org.apache.calcite.rel.mutable.MutableSingleRel
childrenAccept, getInput, getInputs, setInput
-
Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
-
-
-
Constructor Detail
-
Holder
private Holder(RelDataType rowType, MutableRel input)
-
-
Method Detail
-
of
public static Holder of(MutableRel input)
Creates a Holder.- Parameters:
input
- Input relational expression
-
digest
public java.lang.StringBuilder digest(java.lang.StringBuilder buf)
- Specified by:
digest
in classMutableRel
-
clone
public MutableRel clone()
- Specified by:
clone
in classMutableRel
-
-