Package org.apache.calcite.rel.rules
Class ReduceExpressionsRule.ReducibleExprLocator
java.lang.Object
org.apache.calcite.rex.RexVisitorImpl<Void>
org.apache.calcite.rel.rules.ReduceExpressionsRule.ReducibleExprLocator
- All Implemented Interfaces:
RexVisitor<Void>
- Enclosing class:
ReduceExpressionsRule<C extends ReduceExpressionsRule.Config>
Helper class used to locate expressions that either can be reduced to
literals or contain redundant casts.
-
Field Summary
Fields inherited from class org.apache.calcite.rex.RexVisitorImpl
deep
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visitCorrelVariable
(RexCorrelVariable variable) visitDynamicParam
(RexDynamicParam dynamicParam) visitFieldAccess
(RexFieldAccess fieldAccess) visitInputRef
(RexInputRef inputRef) visitLiteral
(RexLiteral literal) visitRangeRef
(RexRangeRef rangeRef) visitSubQuery
(RexSubQuery subQuery) Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitLambda, visitLambdaRef, visitLocalRef, visitPatternFieldRef, visitTableInputRef
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
-
analyze
-
visitInputRef
- Specified by:
visitInputRef
in interfaceRexVisitor<Void>
- Overrides:
visitInputRef
in classRexVisitorImpl<Void>
-
visitLiteral
- Specified by:
visitLiteral
in interfaceRexVisitor<Void>
- Overrides:
visitLiteral
in classRexVisitorImpl<Void>
-
visitOver
- Specified by:
visitOver
in interfaceRexVisitor<Void>
- Overrides:
visitOver
in classRexVisitorImpl<Void>
-
visitCorrelVariable
- Specified by:
visitCorrelVariable
in interfaceRexVisitor<Void>
- Overrides:
visitCorrelVariable
in classRexVisitorImpl<Void>
-
visitCall
- Specified by:
visitCall
in interfaceRexVisitor<Void>
- Overrides:
visitCall
in classRexVisitorImpl<Void>
-
visitSubQuery
- Specified by:
visitSubQuery
in interfaceRexVisitor<Void>
- Overrides:
visitSubQuery
in classRexVisitorImpl<Void>
-
visitDynamicParam
- Specified by:
visitDynamicParam
in interfaceRexVisitor<Void>
- Overrides:
visitDynamicParam
in classRexVisitorImpl<Void>
-
visitRangeRef
- Specified by:
visitRangeRef
in interfaceRexVisitor<Void>
- Overrides:
visitRangeRef
in classRexVisitorImpl<Void>
-
visitFieldAccess
- Specified by:
visitFieldAccess
in interfaceRexVisitor<Void>
- Overrides:
visitFieldAccess
in classRexVisitorImpl<Void>
-