public class CriteriaDeleteImpl<T> extends CommonAbstractCriteriaImpl<T>
Purpose: Contains the implementation of the CriteriaDelete interface of the JPA criteria API.
Description: This is the container class for the components that define a Delete Query.
CriteriaDelete,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected <any> |
root |
metamodel, parameters, queryBuilder, queryType, where| Constructor and Description |
|---|
CriteriaDeleteImpl(Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
java.lang.Class<T> resultType) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
from(<any> entity) |
<any> |
from(java.lang.Class<T> entityClass) |
protected org.eclipse.persistence.expressions.Expression |
getBaseExpression() |
protected DatabaseQuery |
getDatabaseQuery() |
<any> |
getRoot() |
protected void |
integrateRoot(RootImpl root)
Used to use a root from a different query.
|
<any> |
where(<any> restriction)
Modify the query to restrict the query results according to the
conjunction of the specified restriction predicates.
|
<any> |
where(Predicate... restrictions)
Modify the query to restrict the query results according to the
conjunction of the specified restriction predicates.
|
addParameter, findRootAndParameters, getParameters, getRestriction, getResultType, internalFrom, internalFrom, subquery, translatepublic CriteriaDeleteImpl(Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
java.lang.Class<T> resultType)
public <any> from(java.lang.Class<T> entityClass)
public <any> from(<any> entity)
public <any> getRoot()
public <any> where(<any> restriction)
CommonAbstractCriteriaImplwhere in class CommonAbstractCriteriaImpl<T>restriction - zero or more restriction predicatespublic <any> where(Predicate... restrictions)
CommonAbstractCriteriaImplwhere in class CommonAbstractCriteriaImpl<T>restrictions - zero or more restriction predicatesprotected void integrateRoot(RootImpl root)
CommonAbstractCriteriaImplintegrateRoot in class CommonAbstractCriteriaImpl<T>protected org.eclipse.persistence.expressions.Expression getBaseExpression()
getBaseExpression in class CommonAbstractCriteriaImpl<T>protected DatabaseQuery getDatabaseQuery()
getDatabaseQuery in class CommonAbstractCriteriaImpl<T>