private static class CalcRelSplitter.MaxInputFinder extends RexVisitorImpl<java.lang.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.
|
java.lang.Void |
visitLocalRef(RexLocalRef localRef) |
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef
public java.lang.Void visitLocalRef(RexLocalRef localRef)
visitLocalRef
in interface RexVisitor<java.lang.Void>
visitLocalRef
in class RexVisitorImpl<java.lang.Void>
public int maxInputFor(RexNode expr)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.