Package org.apache.calcite.rel.rules
Class ReduceExpressionsRule.RexReplacer
java.lang.Object
org.apache.calcite.rex.RexShuttle
org.apache.calcite.rel.rules.ReduceExpressionsRule.RexReplacer
- All Implemented Interfaces:
RexVisitor<RexNode>
- Enclosing class:
ReduceExpressionsRule<C extends ReduceExpressionsRule.Config>
Replaces expressions with their reductions. Note that we only have to
look for RexCall, since nothing else is reducible in the first place.
-
Method Summary
Methods inherited from class org.apache.calcite.rex.RexShuttle
apply, apply, mutate, visitArray, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitFieldCollations, visitLambda, visitLambdaRef, visitList, visitLiteral, visitLocalRef, visitOver, visitOverAggFunction, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.rex.RexVisitor
visitEach, visitList, visitList
-
Method Details
-
visitInputRef
- Specified by:
visitInputRef
in interfaceRexVisitor<RexNode>
- Overrides:
visitInputRef
in classRexShuttle
-
visitCall
- Specified by:
visitCall
in interfaceRexVisitor<RexNode>
- Overrides:
visitCall
in classRexShuttle
-