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, visitNodeAndFieldIndex, visitOver, visitOverAggFunction, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.rex.RexVisitor
visitEach, visitList, visitList
-
Method Details
-
visitInputRef
- Specified by:
visitInputRefin interfaceRexVisitor<RexNode>- Overrides:
visitInputRefin classRexShuttle
-
visitCall
- Specified by:
visitCallin interfaceRexVisitor<RexNode>- Overrides:
visitCallin classRexShuttle
-