private static class CalcRelSplitter.MaxInputFinder extends RexVisitorImpl<Void>
| Modifier and Type | Field and Description |
|---|---|
private int[] |
exprLevels |
(package private) int |
level |
deep| Constructor and Description |
|---|
MaxInputFinder(int[] exprLevels) |
| Modifier and Type | Method and Description |
|---|---|
int |
maxInputFor(RexNode expr)
Returns the highest level of any of the inputs of an expression.
|
Void |
visitLocalRef(RexLocalRef localRef) |
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRefpublic Void visitLocalRef(RexLocalRef localRef)
visitLocalRef in interface RexVisitor<Void>visitLocalRef in class RexVisitorImpl<Void>public int maxInputFor(RexNode expr)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.