Package org.apache.calcite.rel.mutable
Class MutableProject
java.lang.Object
org.apache.calcite.rel.mutable.MutableRel
org.apache.calcite.rel.mutable.MutableProject
Mutable equivalent of 
Project.- 
Field SummaryFieldsFields inherited from class org.apache.calcite.rel.mutable.MutableRelcluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
- 
Method SummaryModifier and TypeMethodDescriptionvoidchildrenAccept(MutableRelVisitor visitor) clone()digest(StringBuilder buf) booleangetInput()@Nullable Mappings.TargetMappingReturns a list of (expression, name) pairs.inthashCode()static MutableRelCreates a MutableProject.static MutableProjectof(RelDataType rowType, MutableRel input, List<RexNode> projects) Creates a MutableProject.voidsetInput(int ordinalInParent, MutableRel input) Methods inherited from class org.apache.calcite.rel.mutable.MutableReldeep, getParent, replaceInParent, toString
- 
Field Details- 
projects
- 
input
 
- 
- 
Method Details- 
ofCreates a MutableProject.- Parameters:
- rowType- Row type
- input- Input relational expression
- projects- List of expressions for the input columns
 
- 
ofCreates a MutableProject.- Parameters:
- input- Input relational expression
- exprList- List of expressions for the input columns
- fieldNameList- Aliases of the expressions, or null to generate
 
- 
equals
- 
hashCodepublic int hashCode()
- 
digest- Specified by:
- digestin class- MutableRel
 
- 
getNamedProjectsReturns a list of (expression, name) pairs.
- 
getMapping
- 
clone- Specified by:
- clonein class- MutableRel
 
- 
setInput- Specified by:
- setInputin class- MutableRel
 
- 
getInputs- Specified by:
- getInputsin class- MutableRel
 
- 
childrenAccept- Specified by:
- childrenAcceptin class- MutableRel
 
- 
getInput
 
-