Package org.apache.calcite.tools
Class RelBuilder.Shifter
- java.lang.Object
-
- org.apache.calcite.rex.RexShuttle
-
- org.apache.calcite.tools.RelBuilder.Shifter
-
- All Implemented Interfaces:
RexVisitor<RexNode>
- Enclosing class:
- RelBuilder
private class RelBuilder.Shifter extends RexShuttle
Shuttle that shifts a predicate's inputs to the left, replacing early ones with references to aRexCorrelVariable
.
-
-
Constructor Summary
Constructors Constructor Description Shifter(RelNode left, CorrelationId id, RelNode right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RexNode
visitInputRef(RexInputRef inputRef)
-
Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, apply, mutate, visitArray, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitFieldCollations, visitList, visitList, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
-
-
-
-
Field Detail
-
left
private final RelNode left
-
id
private final CorrelationId id
-
right
private final RelNode right
-
-
Constructor Detail
-
Shifter
Shifter(RelNode left, CorrelationId id, RelNode right)
-
-
Method Detail
-
visitInputRef
public RexNode visitInputRef(RexInputRef inputRef)
- Specified by:
visitInputRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitInputRef
in classRexShuttle
-
-