|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.sql.util.SqlBasicVisitor<R>
public class SqlBasicVisitor<R>
Basic implementation of SqlVisitor
which does nothing at each node.
This class is useful as a base class for classes which implement the
SqlVisitor
interface. The derived class can override whichever
methods it chooses.
Nested Class Summary | |
---|---|
static interface |
SqlBasicVisitor.ArgHandler<R>
|
static class |
SqlBasicVisitor.ArgHandlerImpl<R>
Default implementation of SqlBasicVisitor.ArgHandler which merely calls SqlNode.accept(org.eigenbase.sql.util.SqlVisitor on each operand. |
Constructor Summary | |
---|---|
SqlBasicVisitor()
|
Method Summary | |
---|---|
R |
visit(SqlCall call)
Visits a call to a SqlOperator . |
R |
visit(SqlDataTypeSpec type)
Visits a datatype specification. |
R |
visit(SqlDynamicParam param)
Visits a dynamic parameter. |
R |
visit(SqlIdentifier id)
Visits an identifier. |
R |
visit(SqlIntervalQualifier intervalQualifier)
Visits an interval qualifier |
R |
visit(SqlLiteral literal)
Visits a literal. |
R |
visit(SqlNodeList nodeList)
Visits a list of SqlNode objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlBasicVisitor()
Method Detail |
---|
public R visit(SqlLiteral literal)
SqlVisitor
visit
in interface SqlVisitor<R>
literal
- LiteralSqlLiteral.accept(SqlVisitor)
public R visit(SqlCall call)
SqlVisitor
SqlOperator
.
visit
in interface SqlVisitor<R>
call
- CallSqlCall.accept(SqlVisitor)
public R visit(SqlNodeList nodeList)
SqlVisitor
SqlNode
objects.
visit
in interface SqlVisitor<R>
nodeList
- list of nodesSqlNodeList.accept(SqlVisitor)
public R visit(SqlIdentifier id)
SqlVisitor
visit
in interface SqlVisitor<R>
id
- identifierSqlIdentifier.accept(SqlVisitor)
public R visit(SqlDataTypeSpec type)
SqlVisitor
visit
in interface SqlVisitor<R>
type
- datatype specificationSqlDataTypeSpec.accept(SqlVisitor)
public R visit(SqlDynamicParam param)
SqlVisitor
visit
in interface SqlVisitor<R>
param
- Dynamic parameterSqlDynamicParam.accept(SqlVisitor)
public R visit(SqlIntervalQualifier intervalQualifier)
SqlVisitor
visit
in interface SqlVisitor<R>
intervalQualifier
- Interval qualifierSqlIntervalQualifier.accept(SqlVisitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |