org.eigenbase.rex
Class RexProgram.ConstantFinder
java.lang.Object
org.eigenbase.rex.RexProgram.ConstantFinder
- All Implemented Interfaces:
- RexVisitor<Boolean>
- Enclosing class:
- RexProgram
private class RexProgram.ConstantFinder
- extends Object
- implements RexVisitor<Boolean>
Walks over an expression and determines whether it is constant.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RexProgram.ConstantFinder
private RexProgram.ConstantFinder()
visitLiteral
public Boolean visitLiteral(RexLiteral literal)
- Specified by:
visitLiteral
in interface RexVisitor<Boolean>
visitInputRef
public Boolean visitInputRef(RexInputRef inputRef)
- Specified by:
visitInputRef
in interface RexVisitor<Boolean>
visitLocalRef
public Boolean visitLocalRef(RexLocalRef localRef)
- Specified by:
visitLocalRef
in interface RexVisitor<Boolean>
visitOver
public Boolean visitOver(RexOver over)
- Specified by:
visitOver
in interface RexVisitor<Boolean>
visitCorrelVariable
public Boolean visitCorrelVariable(RexCorrelVariable correlVariable)
- Specified by:
visitCorrelVariable
in interface RexVisitor<Boolean>
visitDynamicParam
public Boolean visitDynamicParam(RexDynamicParam dynamicParam)
- Specified by:
visitDynamicParam
in interface RexVisitor<Boolean>
visitCall
public Boolean visitCall(RexCall call)
- Specified by:
visitCall
in interface RexVisitor<Boolean>
visitRangeRef
public Boolean visitRangeRef(RexRangeRef rangeRef)
- Specified by:
visitRangeRef
in interface RexVisitor<Boolean>
visitFieldAccess
public Boolean visitFieldAccess(RexFieldAccess fieldAccess)
- Specified by:
visitFieldAccess
in interface RexVisitor<Boolean>