private static class RexUtil.ForwardRefFinder extends RexVisitorImpl<Void>
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).| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
RexUtil.ForwardRefFinder.IllegalForwardRefException
Thrown to abort a visit when we find an illegal forward reference.
|
| Modifier and Type | Field and Description |
|---|---|
private RelDataType |
inputRowType |
private int |
limit |
deep| Constructor and Description |
|---|
ForwardRefFinder(RelDataType inputRowType) |
| Modifier and Type | Method and Description |
|---|---|
void |
setLimit(int limit) |
Void |
visitInputRef(RexInputRef inputRef) |
Void |
visitLocalRef(RexLocalRef inputRef) |
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitLiteral, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRefprivate int limit
private final RelDataType inputRowType
ForwardRefFinder(RelDataType inputRowType)
public Void visitInputRef(RexInputRef inputRef)
visitInputRef in interface RexVisitor<Void>visitInputRef in class RexVisitorImpl<Void>public Void visitLocalRef(RexLocalRef inputRef)
visitLocalRef in interface RexVisitor<Void>visitLocalRef in class RexVisitorImpl<Void>public void setLimit(int limit)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.