Class BasicStateObjectBuilder.DeleteStatementBuilder
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.DeleteStatementBuilder
- All Implemented Interfaces:
ExpressionVisitor
,IBuilder<DeleteStatementStateObject,
JPQLQueryStateObject>
- Enclosing class:
BasicStateObjectBuilder
protected class BasicStateObjectBuilder.DeleteStatementBuilder
extends AbstractTraverseChildrenVisitor
implements IBuilder<DeleteStatementStateObject,JPQLQueryStateObject>
This builder is responsible to create the
StateObject
representation of the
DELETE
query statement.-
Field Summary
Modifier and TypeFieldDescriptionprotected JPQLQueryStateObject
protected DeleteStatementStateObject
-
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
(DeleteClause expression) Visits theDeleteClause
expression.void
visit
(DeleteStatement expression) Visits theDeleteStatement
expression.void
visit
(IdentificationVariable expression) Visits theIdentificationVariable
expression.void
visit
(RangeVariableDeclaration expression) Visits theRangeVariableDeclaration
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
-
Field Details
-
parent
-
stateObject
-
-
Constructor Details
-
DeleteStatementBuilder
protected DeleteStatementBuilder()
-
-
Method Details
-
buildStateObject
public DeleteStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression) Description copied from interface:IBuilder
Creates theStateObject
representation of the givenExpression
.- Specified by:
buildStateObject
in interfaceIBuilder<DeleteStatementStateObject,
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 theDeleteClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:ExpressionVisitor
Visits theDeleteStatement
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 theWhereClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheWhereClause
to visit
-