Class BasicStateObjectBuilder.SelectItemBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder.SelectItemBuilder
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<StateObject,
SelectClauseStateObject>
- Enclosing class:
BasicStateObjectBuilder
protected class BasicStateObjectBuilder.SelectItemBuilder
extends AnonymousExpressionVisitor
implements IBuilder<StateObject,SelectClauseStateObject>
This builder is responsible to create the items owned by the top-level
SELECT
clause.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildStateObject
(SelectClauseStateObject parent, Expression expression) Creates theStateObject
representation of the givenExpression
.protected void
visit
(Expression expression) Blindly visit the givenExpression
.void
visit
(ResultVariable expression) Visits theResultVariable
expression.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, visit, visit, visit, visit
-
Field Details
-
parent
-
stateObject
-
-
Constructor Details
-
SelectItemBuilder
protected SelectItemBuilder()
-
-
Method Details
-
buildStateObject
Description copied from interface:IBuilder
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<StateObject,
SelectClauseStateObject> - 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 class:AnonymousExpressionVisitor
Blindly visit the givenExpression
.- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theResultVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-