public class CriteriaDeleteImpl<T> extends CommonAbstractCriteriaImpl<T> implements javax.persistence.criteria.CriteriaDelete<T>, java.io.Serializable
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| Constructor and Description |
|---|
CriteriaDeleteImpl(javax.persistence.metamodel.Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
java.lang.Class<T> resultType) |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.criteria.Root<T> |
from(java.lang.Class<T> entityClass) |
javax.persistence.criteria.Root<T> |
from(javax.persistence.metamodel.EntityType<T> entity) |
javax.persistence.criteria.Root<T> |
getRoot() |
javax.persistence.criteria.CriteriaDelete<T> |
where(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
Modify the query to restrict the query results according to the specified
boolean expression.
|
javax.persistence.criteria.CriteriaDelete<T> |
where(javax.persistence.criteria.Predicate... restrictions)
Modify the query to restrict the query results according to the
conjunction of the specified restriction predicates.
|
addParameter, getParameters, getRestriction, getResultType, internalFrom, internalFrom, subquery, translatepublic CriteriaDeleteImpl(javax.persistence.metamodel.Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
java.lang.Class<T> resultType)
public javax.persistence.criteria.Root<T> from(java.lang.Class<T> entityClass)
from in interface javax.persistence.criteria.CriteriaDelete<T>public javax.persistence.criteria.Root<T> from(javax.persistence.metamodel.EntityType<T> entity)
from in interface javax.persistence.criteria.CriteriaDelete<T>public javax.persistence.criteria.Root<T> getRoot()
getRoot in interface javax.persistence.criteria.CriteriaDelete<T>public javax.persistence.criteria.CriteriaDelete<T> where(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
CommonAbstractCriteriaImplwhere in interface javax.persistence.criteria.CriteriaDelete<T>where in class CommonAbstractCriteriaImpl<T>restriction - a simple or compound boolean expressionpublic javax.persistence.criteria.CriteriaDelete<T> where(javax.persistence.criteria.Predicate... restrictions)
CommonAbstractCriteriaImplwhere in interface javax.persistence.criteria.CriteriaDelete<T>where in class CommonAbstractCriteriaImpl<T>restrictions - zero or more restriction predicatesEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference