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 theStateObject
representation of theDELETE
query statement.
-
-
Field Summary
Fields Modifier and Type Field Description protected JPQLQueryStateObject
parent
protected DeleteStatementStateObject
stateObject
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeleteStatementBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteStatementStateObject
buildStateObject(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
-
-
-
-
Field Detail
-
parent
protected JPQLQueryStateObject parent
-
stateObject
protected DeleteStatementStateObject stateObject
-
-
Method Detail
-
buildStateObject
public DeleteStatementStateObject buildStateObject(JPQLQueryStateObject parent, Expression expression)
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
public void visit(AbstractSchemaName expression)
Visits theAbstractSchemaName
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DeleteClause expression)
Visits theDeleteClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DeleteStatement expression)
Visits theDeleteStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(RangeVariableDeclaration expression)
Visits theRangeVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(WhereClause expression)
Visits theWhereClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classAnonymousExpressionVisitor
- Parameters:
expression
- TheWhereClause
to visit
-
-