org.eigenbase.rex
Class RexOver.Finder

java.lang.Object
  extended by org.eigenbase.rex.RexVisitorImpl<Void>
      extended by org.eigenbase.rex.RexOver.Finder
All Implemented Interfaces:
RexVisitor<Void>
Enclosing class:
RexOver

private static class RexOver.Finder
extends RexVisitorImpl<Void>

Visitor which detects a RexOver inside a RexNode expression.

It is re-entrant (two threads can use an instance at the same time) and it can be re-used for multiple visits.


Field Summary
(package private) static RexOver.Finder instance
           
 
Fields inherited from class org.eigenbase.rex.RexVisitorImpl
deep
 
Constructor Summary
RexOver.Finder()
           
 
Method Summary
(package private)  boolean containsOver(RexNode expr)
          Returns whether an expression contains an OVER clause.
 Void visitOver(RexOver over)
           
 
Methods inherited from class org.eigenbase.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitRangeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

static final RexOver.Finder instance
Constructor Detail

RexOver.Finder

public RexOver.Finder()
Method Detail

visitOver

public Void visitOver(RexOver over)
Specified by:
visitOver in interface RexVisitor<Void>
Overrides:
visitOver in class RexVisitorImpl<Void>

containsOver

boolean containsOver(RexNode expr)
Returns whether an expression contains an OVER clause.