Package org.apache.calcite.rel.mutable
Class MutableRels
java.lang.Object
org.apache.calcite.rel.mutable.MutableRels
Utilities for dealing with 
MutableRels.- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
MutableRelspublic MutableRels()
 
- 
- 
Method Details- 
contains
- 
preOrderTraverseNext
- 
descendants
- 
strip
- 
isTrivial
- 
createProject
- 
createProjectExprsConstruct expression list of Project by the given fields of the input.
- 
createProjectsConstruct expression list of Project by the given fields of the input.
- 
createCastRel
- 
fromMutable
- 
fromMutable
- 
toMutable
 
-