Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.jpql

pack-priv final Class DeleteQueryVisitor

extends AbstractModifyAllQueryBuilder
Class Inheritance
Imports
org.eclipse.persistence.jpa.jpql.parser.DeleteClause, .DeleteStatement, org.eclipse.persistence.queries.DeleteAllQuery

This builder is responsible to populate a DeleteAllQuery representing a DELETE query.
Authors
Pascal Filion, John Bracken
Since
2.3
Version
2.4

Field Summary

Inherited from org.eclipse.persistence.internal.jpa.jpql.AbstractModifyAllQueryBuilder:
queryqueryContext

Constructor Summary

AccessConstructor and Description
pack-priv
DeleteQueryVisitor(JPQLQueryContext
The context used to query information about the application metadata and cached information
queryContext
,
DeleteAllQuery
The DeleteAllQuery to populate by using this visitor to visit the parsed tree representation of the JPQL query
query
)

Creates a new DeleteQueryBuilder.

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from org.eclipse.persistence.internal.jpa.jpql.AbstractModifyAllQueryBuilder:
visitvisit

Constructor Detail

DeleteQueryVisitorback to summary
pack-priv DeleteQueryVisitor(JPQLQueryContext queryContext, DeleteAllQuery query)

Creates a new DeleteQueryBuilder.

Parameters
queryContext:JPQLQueryContext

The context used to query information about the application metadata and cached information

query:DeleteAllQuery

The DeleteAllQuery to populate by using this visitor to visit the parsed tree representation of the JPQL query

Method Detail

visitback to summary
public void visit(DeleteClause expression)

Overrides org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor.visit.

Implements org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor.visit.

Doc from org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor.visit.

Visits the DeleteClause expression.

Parameters
expression:DeleteClause

The Expression to visit

Annotations
@Override
visitback to summary
public void visit(DeleteStatement expression)

Overrides org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor.visit.

Implements org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor.visit.

Doc from org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor.visit.

Visits the DeleteStatement expression.

Parameters
expression:DeleteStatement

The Expression to visit

Annotations
@Override