protected abstract class BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject> extends AbstractTraverseChildrenVisitor implements IBuilder<T,P>
StateObject
representation of the SELECT
statement.Modifier and Type | Field and Description |
---|---|
protected P |
parent
The parent of the
SELECT statement. |
protected T |
stateObject
The concrete class of
AbstractSelectStatementStateObject . |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSelectStatementBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
buildStateObject(P parent,
Expression expression)
Creates the
StateObject representation of the given Expression . |
void |
visit(CollectionMemberDeclaration expression)
Visits the
CollectionMemberDeclaration expression. |
void |
visit(GroupByClause expression)
Visits the
GroupByClause expression. |
void |
visit(HavingClause expression)
Visits the
HavingClause expression. |
abstract void |
visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
visit(WhereClause expression)
Visits the
WhereClause expression. |
visit
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected P extends StateObject parent
SELECT
statement.protected T extends AbstractSelectStatementStateObject stateObject
AbstractSelectStatementStateObject
.public T buildStateObject(P parent, Expression expression)
StateObject
representation of the given Expression
.buildStateObject
in interface IBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject>
parent
- The parent of the new StateObject
to createexpression
- The parsed Expression
to convert into a StateObject
StateObject
representation of the given Expression
public void visit(CollectionMemberDeclaration expression)
CollectionMemberDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(GroupByClause expression)
GroupByClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(HavingClause expression)
HavingClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic abstract void visit(IdentificationVariableDeclaration expression)
IdentificationVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(WhereClause expression)
WhereClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The WhereClause
to visit