|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SqlVisitor<R>
Visitor class, follows the visitor pattern
.
The type parameter R
is the return type of each
visit()
method. If the methods do not need to return a value, use
Void
.
SqlBasicVisitor
,
SqlNode.accept(SqlVisitor)
,
SqlOperator.acceptCall(org.eigenbase.sql.util.SqlVisitor, org.eigenbase.sql.SqlCall)
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. |
Method Detail |
---|
R visit(SqlLiteral literal)
literal
- LiteralSqlLiteral.accept(SqlVisitor)
R visit(SqlCall call)
SqlOperator
.
call
- CallSqlCall.accept(SqlVisitor)
R visit(SqlNodeList nodeList)
SqlNode
objects.
nodeList
- list of nodesSqlNodeList.accept(SqlVisitor)
R visit(SqlIdentifier id)
id
- identifierSqlIdentifier.accept(SqlVisitor)
R visit(SqlDataTypeSpec type)
type
- datatype specificationSqlDataTypeSpec.accept(SqlVisitor)
R visit(SqlDynamicParam param)
param
- Dynamic parameterSqlDynamicParam.accept(SqlVisitor)
R visit(SqlIntervalQualifier intervalQualifier)
intervalQualifier
- Interval qualifierSqlIntervalQualifier.accept(SqlVisitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |