Interface BlazeCriteriaDelete<T>
- Type Parameters:
T- The entity type that is the target of the delete
- All Superinterfaces:
BlazeCommonAbstractCriteria,CommonAbstractCriteria,CriteriaDelete<T>
An extended version of
CriteriaDelete.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptioncreateCriteriaBuilder(EntityManager entityManager) Create a Blaze-Persistence CoreDeleteCriteriaBuilderfrom this query.LikeCriteriaDelete.from(Class)but allows to set the alias of theBlazeRoot.LikeCriteriaDelete.from(EntityType)but allows to set the alias of theBlazeRoot.getRoot()where(Expression<Boolean> restriction) Methods inherited from interface com.blazebit.persistence.criteria.BlazeCommonAbstractCriteria
subqueryMethods inherited from interface javax.persistence.criteria.CommonAbstractCriteria
getRestriction
-
Method Details
-
createCriteriaBuilder
Create a Blaze-Persistence CoreDeleteCriteriaBuilderfrom this query.- Parameters:
entityManager- The entity manager to which to bind the criteria builder- Returns:
- A new criteria builder
- Since:
- 1.3.0
-
from
LikeCriteriaDelete.from(Class)but allows to set the alias of theBlazeRoot.- Parameters:
entityClass- the entity classalias- The alias for theBlazeRoot- Returns:
- query root corresponding to the given entity
-
from
LikeCriteriaDelete.from(EntityType)but allows to set the alias of theBlazeRoot.- Parameters:
entityType- the entity typealias- The alias for theBlazeRoot- Returns:
- query root corresponding to the given entity
-
from
- Specified by:
fromin interfaceCriteriaDelete<T>
-
from
- Specified by:
fromin interfaceCriteriaDelete<T>
-
getRoot
- Specified by:
getRootin interfaceCriteriaDelete<T>
-
where
- Specified by:
wherein interfaceCriteriaDelete<T>
-
where
- Specified by:
wherein interfaceCriteriaDelete<T>
-