org.eigenbase.rex
Class RexMultisetUtil.RexCallMultisetOperatorCounter
java.lang.Object
org.eigenbase.rex.RexVisitorImpl<Void>
org.eigenbase.rex.RexMultisetUtil.RexCallMultisetOperatorCounter
- All Implemented Interfaces:
- RexVisitor<Void>
- Enclosing class:
- RexMultisetUtil
private static class RexMultisetUtil.RexCallMultisetOperatorCounter
- extends RexVisitorImpl<Void>
A RexShuttle that traverse all RexNode and counts total number of
RexCalls traversed and number of multiset calls traversed.
totalCount >= multisetCount always holds true.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
totalCount
int totalCount
multisetCount
int multisetCount
RexMultisetUtil.RexCallMultisetOperatorCounter
RexMultisetUtil.RexCallMultisetOperatorCounter()
reset
void reset()
visitCall
public Void visitCall(RexCall call)
- Specified by:
visitCall
in interface RexVisitor<Void>
- Overrides:
visitCall
in class RexVisitorImpl<Void>