Interface PersistentEntityCriteriaDelete<T>
- Type Parameters:
T
- The entity type
- All Superinterfaces:
jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.CriteriaDelete<T>
- All Known Subinterfaces:
SourcePersistentEntityCriteriaDelete<T>
- All Known Implementing Classes:
AbstractPersistentEntityCriteriaDelete
public interface PersistentEntityCriteriaDelete<T>
extends jakarta.persistence.criteria.CriteriaDelete<T>
The persistent entity
CriteriaDelete
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(PersistentEntity persistentEntity) getRoot()
@NonNull PersistentEntityCriteriaDelete<T>
The returning result of the query.@NonNull PersistentEntityCriteriaDelete<T>
returningMulti
(@NonNull jakarta.persistence.criteria.Selection<?>... selections) The returning result of the query.@NonNull PersistentEntityCriteriaDelete<T>
returningMulti
(@NonNull List<jakarta.persistence.criteria.Selection<?>> selectionList) The returning result of the query.where
(jakarta.persistence.criteria.Predicate... restrictions) Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getRestriction, subquery
-
Method Details
-
from
-
from
- Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
from
- Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
getRoot
PersistentEntityRoot<T> getRoot()- Specified by:
getRoot
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
where
PersistentEntityCriteriaDelete<T> where(jakarta.persistence.criteria.Expression<Boolean> restriction) - Specified by:
where
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
where
- Specified by:
where
in interfacejakarta.persistence.criteria.CriteriaDelete<T>
-
returning
@NonNull @NonNull PersistentEntityCriteriaDelete<T> returning(@NonNull @NonNull jakarta.persistence.criteria.Selection<? extends T> selection) The returning result of the query.- Parameters:
selection
- The selection to return- Returns:
- The delete criteria.
- Since:
- 4.2.0
-
returningMulti
@NonNull @NonNull PersistentEntityCriteriaDelete<T> returningMulti(@NonNull @NonNull jakarta.persistence.criteria.Selection<?>... selections) The returning result of the query.- Parameters:
selections
- The multi selection to return- Returns:
- The delete criteria.
- Since:
- 4.2.0
-
returningMulti
@NonNull @NonNull PersistentEntityCriteriaDelete<T> returningMulti(@NonNull @NonNull List<jakarta.persistence.criteria.Selection<?>> selectionList) The returning result of the query.- Parameters:
selectionList
- The multi selection to return- Returns:
- The delete criteria.
- Since:
- 4.2.0
-