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 CoreDeleteCriteriaBuilder
from 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
subquery
Methods inherited from interface javax.persistence.criteria.CommonAbstractCriteria
getRestriction
-
Method Details
-
createCriteriaBuilder
Create a Blaze-Persistence CoreDeleteCriteriaBuilder
from 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:
from
in interfaceCriteriaDelete<T>
-
from
- Specified by:
from
in interfaceCriteriaDelete<T>
-
getRoot
- Specified by:
getRoot
in interfaceCriteriaDelete<T>
-
where
- Specified by:
where
in interfaceCriteriaDelete<T>
-
where
- Specified by:
where
in interfaceCriteriaDelete<T>
-