net.sf.farrago.fennel.rel
Class CalcRelSplitter.HighestUsageFinder
java.lang.Object
org.eigenbase.rex.RexVisitorImpl<Void>
net.sf.farrago.fennel.rel.CalcRelSplitter.HighestUsageFinder
- All Implemented Interfaces:
- RexVisitor<Void>
- Enclosing class:
- CalcRelSplitter
private static class CalcRelSplitter.HighestUsageFinder
- extends RexVisitorImpl<Void>
Builds an array of the highest level which contains an expression which
uses each expression as an input.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxUsingLevelOrdinals
private final int[] maxUsingLevelOrdinals
currentLevel
private int currentLevel
CalcRelSplitter.HighestUsageFinder
public CalcRelSplitter.HighestUsageFinder(RexNode[] exprs,
int[] exprLevels)
getMaxUsingLevelOrdinals
public int[] getMaxUsingLevelOrdinals()
visitLocalRef
public Void visitLocalRef(RexLocalRef ref)
- Specified by:
visitLocalRef
in interface RexVisitor<Void>
- Overrides:
visitLocalRef
in class RexVisitorImpl<Void>