org.eigenbase.rex
Class RexUtil.ForwardRefFinder
java.lang.Object
org.eigenbase.rex.RexVisitorImpl<Void>
org.eigenbase.rex.RexUtil.ForwardRefFinder
- All Implemented Interfaces:
- RexVisitor<Void>
- Enclosing class:
- RexUtil
private static class RexUtil.ForwardRefFinder
- extends RexVisitorImpl<Void>
Walks over an expression and throws an exception if it finds an RexInputRef
with an ordinal beyond the number of fields in the input row
type, or a RexLocalRef
with ordinal greater than that set using
setLimit(int)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
limit
private int limit
inputRowType
private final RelDataType inputRowType
RexUtil.ForwardRefFinder
public RexUtil.ForwardRefFinder(RelDataType inputRowType)
visitInputRef
public Void visitInputRef(RexInputRef inputRef)
- Specified by:
visitInputRef
in interface RexVisitor<Void>
- Overrides:
visitInputRef
in class RexVisitorImpl<Void>
visitLocalRef
public Void visitLocalRef(RexLocalRef inputRef)
- Specified by:
visitLocalRef
in interface RexVisitor<Void>
- Overrides:
visitLocalRef
in class RexVisitorImpl<Void>
setLimit
public void setLimit(int limit)