protected class BasicStateObjectBuilder.UpdateStatementBuilder extends AbstractTraverseChildrenVisitor implements IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>
StateObject
representation of the
UPDATE
query statement.Modifier and Type | Field and Description |
---|---|
protected JPQLQueryStateObject |
parent |
protected UpdateStatementStateObject |
stateObject |
protected UpdateItemStateObject |
updateItem |
Modifier | Constructor and Description |
---|---|
protected |
UpdateStatementBuilder() |
Modifier and Type | Method and Description |
---|---|
UpdateStatementStateObject |
buildStateObject(JPQLQueryStateObject parent,
Expression expression)
Creates the
StateObject representation of the given Expression . |
void |
visit(AbstractSchemaName expression)
Visits the
AbstractSchemaName expression. |
void |
visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
visit(RangeVariableDeclaration expression)
Visits the
RangeVariableDeclaration expression. |
void |
visit(StateFieldPathExpression expression)
Visits the
StateFieldPathExpression expression. |
void |
visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
visit(UpdateItem expression)
Visits the
UpdateItem expression. |
void |
visit(UpdateStatement expression)
Visits the
UpdateStatement 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
protected JPQLQueryStateObject parent
protected UpdateStatementStateObject stateObject
protected UpdateItemStateObject updateItem
public UpdateStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression)
StateObject
representation of the given Expression
.buildStateObject
in interface IBuilder<UpdateStatementStateObject,JPQLQueryStateObject>
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(AbstractSchemaName expression)
AbstractSchemaName
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(StateFieldPathExpression expression)
StateFieldPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(UpdateClause expression)
UpdateClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateClause
to visitpublic void visit(UpdateItem expression)
UpdateItem
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateItem
to visitpublic void visit(UpdateStatement expression)
UpdateStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateStatement
to visitpublic void visit(WhereClause expression)
WhereClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The WhereClause
to visit