org.eigenbase.sql.util
Class SqlBasicVisitor.ArgHandlerImpl<R>

java.lang.Object
  extended by org.eigenbase.sql.util.SqlBasicVisitor.ArgHandlerImpl<R>
All Implemented Interfaces:
SqlBasicVisitor.ArgHandler<R>
Enclosing class:
SqlBasicVisitor<R>

public static class SqlBasicVisitor.ArgHandlerImpl<R>
extends Object
implements SqlBasicVisitor.ArgHandler<R>

Default implementation of SqlBasicVisitor.ArgHandler which merely calls SqlNode.accept(org.eigenbase.sql.util.SqlVisitor) on each operand.


Field Summary
static SqlBasicVisitor.ArgHandler instance
           
 
Constructor Summary
SqlBasicVisitor.ArgHandlerImpl()
           
 
Method Summary
 R result()
           
 R visitChild(SqlVisitor<R> visitor, SqlNode expr, int i, SqlNode operand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final SqlBasicVisitor.ArgHandler instance
Constructor Detail

SqlBasicVisitor.ArgHandlerImpl

public SqlBasicVisitor.ArgHandlerImpl()
Method Detail

result

public R result()
Specified by:
result in interface SqlBasicVisitor.ArgHandler<R>

visitChild

public R visitChild(SqlVisitor<R> visitor,
                    SqlNode expr,
                    int i,
                    SqlNode operand)
Specified by:
visitChild in interface SqlBasicVisitor.ArgHandler<R>