Package org.apache.calcite.rel.mutable
Class MutableRels
java.lang.Object
org.apache.calcite.rel.mutable.MutableRels
Utilities for dealing with
MutableRel
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
contains
(MutableRel ancestor, MutableRel target) static MutableRel
createCastRel
(MutableRel rel, RelDataType castRowType, boolean rename) static MutableRel
createProject
(MutableRel child, List<Integer> posList) createProjectExprs
(MutableRel child, List<Integer> posList) Construct expression list of Project by the given fields of the input.createProjects
(MutableRel child, List<RexNode> projects) Construct expression list of Project by the given fields of the input.static List<MutableRel>
descendants
(MutableRel query) static RelNode
fromMutable
(MutableRel node) static RelNode
fromMutable
(MutableRel node, RelBuilder relBuilder) static boolean
isTrivial
(MutableProject project) static @Nullable MutableRel
static MutableRel
strip
(MutableProject project) static MutableRel
-
Constructor Details
-
MutableRels
public MutableRels()
-
-
Method Details
-
contains
-
preOrderTraverseNext
-
descendants
-
strip
-
isTrivial
-
createProject
-
createProjectExprs
Construct expression list of Project by the given fields of the input. -
createProjects
Construct expression list of Project by the given fields of the input. -
createCastRel
-
fromMutable
-
fromMutable
-
toMutable
-