public class CriteriaDeleteImpl<T> extends CommonAbstractCriteriaImpl<T> implements jakarta.persistence.criteria.CriteriaDelete<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 jakarta.persistence.criteria.Root<T> |
root |
metamodel, parameters, queryBuilder, queryType, where| Constructor and Description |
|---|
CriteriaDeleteImpl(jakarta.persistence.metamodel.Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
Class<T> resultType) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.persistence.criteria.Root<T> |
from(Class<T> entityClass) |
jakarta.persistence.criteria.Root<T> |
from(jakarta.persistence.metamodel.EntityType<T> entity) |
protected Expression |
getBaseExpression() |
protected DatabaseQuery |
getDatabaseQuery() |
jakarta.persistence.criteria.Root<T> |
getRoot() |
protected void |
integrateRoot(RootImpl root)
Used to use a root from a different query.
|
jakarta.persistence.criteria.CriteriaDelete<T> |
where(jakarta.persistence.criteria.Expression<Boolean> restriction)
Modify the query to restrict the query results according to the specified
boolean expression.
|
jakarta.persistence.criteria.CriteriaDelete<T> |
where(jakarta.persistence.criteria.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, translateprotected jakarta.persistence.criteria.Root<T> root
public CriteriaDeleteImpl(jakarta.persistence.metamodel.Metamodel metamodel,
CriteriaBuilderImpl queryBuilder,
Class<T> resultType)
public jakarta.persistence.criteria.Root<T> from(Class<T> entityClass)
from in interface jakarta.persistence.criteria.CriteriaDelete<T>public jakarta.persistence.criteria.Root<T> from(jakarta.persistence.metamodel.EntityType<T> entity)
from in interface jakarta.persistence.criteria.CriteriaDelete<T>public jakarta.persistence.criteria.Root<T> getRoot()
getRoot in interface jakarta.persistence.criteria.CriteriaDelete<T>public jakarta.persistence.criteria.CriteriaDelete<T> where(jakarta.persistence.criteria.Expression<Boolean> restriction)
CommonAbstractCriteriaImplwhere in interface jakarta.persistence.criteria.CriteriaDelete<T>where in class CommonAbstractCriteriaImpl<T>restriction - a simple or compound boolean expressionpublic jakarta.persistence.criteria.CriteriaDelete<T> where(jakarta.persistence.criteria.Predicate... restrictions)
CommonAbstractCriteriaImplwhere in interface jakarta.persistence.criteria.CriteriaDelete<T>where in class CommonAbstractCriteriaImpl<T>restrictions - zero or more restriction predicatesprotected void integrateRoot(RootImpl root)
CommonAbstractCriteriaImplintegrateRoot in class CommonAbstractCriteriaImpl<T>protected Expression getBaseExpression()
getBaseExpression in class CommonAbstractCriteriaImpl<T>protected DatabaseQuery getDatabaseQuery()
getDatabaseQuery in class CommonAbstractCriteriaImpl<T>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.