Class BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject>
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.AbstractSelectStatementBuilder<T,P>
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<T,
P>
- Direct Known Subclasses:
BasicStateObjectBuilder.SelectStatementBuilder
,BasicStateObjectBuilder.SimpleSelectStatementBuilder
- Enclosing class:
BasicStateObjectBuilder
protected abstract class BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject>
extends AbstractTraverseChildrenVisitor
implements IBuilder<T,P>
The abstract definition of the builder that is responsible to create the
StateObject
representation of the SELECT
statement.-
Field Summary
Modifier and TypeFieldDescriptionprotected P
The parent of theSELECT
statement.protected T
The concrete class ofAbstractSelectStatementStateObject
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildStateObject
(P parent, Expression expression) Creates theStateObject
representation of the givenExpression
.void
visit
(CollectionMemberDeclaration expression) Visits theCollectionMemberDeclaration
expression.void
visit
(GroupByClause expression) Visits theGroupByClause
expression.void
visit
(HavingClause expression) Visits theHavingClause
expression.abstract void
visit
(IdentificationVariableDeclaration expression) Visits theIdentificationVariableDeclaration
expression.void
visit
(WhereClause expression) Visits theWhereClause
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseChildrenVisitor
visit
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
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, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
parent
The parent of theSELECT
statement. -
stateObject
The concrete class ofAbstractSelectStatementStateObject
.
-
-
Constructor Details
-
AbstractSelectStatementBuilder
protected AbstractSelectStatementBuilder()
-
-
Method Details
-
buildStateObject
Description copied from interface:IBuilder
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<T extends AbstractSelectStatementStateObject,
P extends StateObject> - Parameters:
parent
- The parent of the newStateObject
to createexpression
- The parsedExpression
to convert into aStateObject
- Returns:
- The
StateObject
representation of the givenExpression
-
visit
Description copied from interface:ExpressionVisitor
Visits theCollectionMemberDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theGroupByClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theHavingClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theIdentificationVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theWhereClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheWhereClause
to visit
-