Package org.apache.calcite.rex
Class RexProgramBuilder.RegisterInputShuttle
- java.lang.Object
-
- org.apache.calcite.rex.RexShuttle
-
- org.apache.calcite.rex.RexProgramBuilder.RegisterShuttle
-
- org.apache.calcite.rex.RexProgramBuilder.RegisterInputShuttle
-
- All Implemented Interfaces:
RexVisitor<RexNode>
- Direct Known Subclasses:
RexProgramBuilder.RegisterMidputShuttle
- Enclosing class:
- RexProgramBuilder
private class RexProgramBuilder.RegisterInputShuttle extends RexProgramBuilder.RegisterShuttle
Shuttle which walks over an expression, registering each sub-expression. EachRexInputRef
is assumed to refer to an input of the program.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
valid
-
Constructor Summary
Constructors Modifier Constructor Description protected
RegisterInputShuttle(boolean valid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexNode
visitInputRef(RexInputRef input)
RexNode
visitLocalRef(RexLocalRef local)
-
Methods inherited from class org.apache.calcite.rex.RexProgramBuilder.RegisterShuttle
visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitLiteral, visitOver
-
Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, apply, mutate, visitArray, visitFieldCollations, visitList, visitList, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
-
-
-
-
Method Detail
-
visitInputRef
public RexNode visitInputRef(RexInputRef input)
- Specified by:
visitInputRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitInputRef
in classRexShuttle
-
visitLocalRef
public RexNode visitLocalRef(RexLocalRef local)
- Specified by:
visitLocalRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitLocalRef
in classRexShuttle
-
-