org.eigenbase.sql.fun
Class SqlBetweenOperator.AndFinder

java.lang.Object
  extended by org.eigenbase.sql.util.SqlBasicVisitor<Void>
      extended by org.eigenbase.sql.fun.SqlBetweenOperator.AndFinder
All Implemented Interfaces:
SqlVisitor<Void>
Enclosing class:
SqlBetweenOperator

private static class SqlBetweenOperator.AndFinder
extends SqlBasicVisitor<Void>

Finds an AND operator in an expression.


Nested Class Summary
private static class SqlBetweenOperator.AndFinder.Found
           
 
Nested classes/interfaces inherited from class org.eigenbase.sql.util.SqlBasicVisitor
SqlBasicVisitor.ArgHandler<R>, SqlBasicVisitor.ArgHandlerImpl<R>
 
Constructor Summary
private SqlBetweenOperator.AndFinder()
           
 
Method Summary
(package private)  boolean containsAnd(SqlNode node)
           
 Void visit(SqlCall call)
          Visits a call to a SqlOperator.
 
Methods inherited from class org.eigenbase.sql.util.SqlBasicVisitor
visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlBetweenOperator.AndFinder

private SqlBetweenOperator.AndFinder()
Method Detail

visit

public Void visit(SqlCall call)
Description copied from interface: SqlVisitor
Visits a call to a SqlOperator.

Specified by:
visit in interface SqlVisitor<Void>
Overrides:
visit in class SqlBasicVisitor<Void>
Parameters:
call - Call
See Also:
SqlCall.accept(SqlVisitor)

containsAnd

boolean containsAnd(SqlNode node)