Class BasicStateObjectBuilder.UpdateStatementBuilder
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.UpdateStatementBuilder
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<UpdateStatementStateObject,
JPQLQueryStateObject>
- Enclosing class:
BasicStateObjectBuilder
protected class BasicStateObjectBuilder.UpdateStatementBuilder
extends AbstractTraverseChildrenVisitor
implements IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>
This builder is responsible to create the
StateObject
representation of the
UPDATE
query statement.-
Field Summary
Modifier and TypeFieldDescriptionprotected JPQLQueryStateObject
protected UpdateStatementStateObject
protected UpdateItemStateObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildStateObject
(JPQLQueryStateObject parent, Expression expression) Creates theStateObject
representation of the givenExpression
.void
visit
(AbstractSchemaName expression) Visits theAbstractSchemaName
expression.void
visit
(IdentificationVariable expression) Visits theIdentificationVariable
expression.void
visit
(RangeVariableDeclaration expression) Visits theRangeVariableDeclaration
expression.void
visit
(StateFieldPathExpression expression) Visits theStateFieldPathExpression
expression.void
visit
(UpdateClause expression) Visits theUpdateClause
expression.void
visit
(UpdateItem expression) Visits theUpdateItem
expression.void
visit
(UpdateStatement expression) Visits theUpdateStatement
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
-
Field Details
-
parent
-
stateObject
-
updateItem
-
-
Constructor Details
-
UpdateStatementBuilder
protected UpdateStatementBuilder()
-
-
Method Details
-
buildStateObject
public UpdateStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression) Description copied from interface:IBuilder
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<UpdateStatementStateObject,
JPQLQueryStateObject> - 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 theAbstractSchemaName
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theRangeVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theStateFieldPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theUpdateClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheUpdateClause
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theUpdateItem
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheUpdateItem
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theUpdateStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheUpdateStatement
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
-