Package org.apache.calcite.rel.mutable
Class MutableRels
java.lang.Object
org.apache.calcite.rel.mutable.MutableRels
Utilities for dealing with
MutableRels.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontains(MutableRel ancestor, MutableRel target) static MutableRelcreateCastRel(MutableRel rel, RelDataType castRowType, boolean rename) static MutableRelcreateProject(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 RelNodefromMutable(MutableRel node) static RelNodefromMutable(MutableRel node, RelBuilder relBuilder) static booleanisTrivial(MutableProject project) static @Nullable MutableRelstatic MutableRelstrip(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
-