T
- The entity type that is the target of the deleteBlazeCommonAbstractCriteria
, CommonAbstractCriteria
, CriteriaDelete<T>
public interface BlazeCriteriaDelete<T> extends CriteriaDelete<T>, BlazeCommonAbstractCriteria
CriteriaDelete
.Modifier and Type | Method | Description |
---|---|---|
com.blazebit.persistence.DeleteCriteriaBuilder<T> |
createCriteriaBuilder(javax.persistence.EntityManager entityManager) |
Create a Blaze-Persistence Core
DeleteCriteriaBuilder from this query. |
BlazeRoot<T> |
from(java.lang.Class<T> entityClass) |
|
BlazeRoot<T> |
from(java.lang.Class<T> entityClass,
java.lang.String alias) |
Like
CriteriaDelete.from(Class) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
from(javax.persistence.metamodel.EntityType<T> entity) |
|
BlazeRoot<T> |
from(javax.persistence.metamodel.EntityType<T> entityType,
java.lang.String alias) |
Like
CriteriaDelete.from(EntityType) but allows to set the alias of the BlazeRoot . |
BlazeRoot<T> |
getRoot() |
|
BlazeCriteriaDelete<T> |
where(Expression<java.lang.Boolean> restriction) |
|
BlazeCriteriaDelete<T> |
where(Predicate... restrictions) |
subquery
getRestriction
com.blazebit.persistence.DeleteCriteriaBuilder<T> createCriteriaBuilder(javax.persistence.EntityManager entityManager)
DeleteCriteriaBuilder
from this query.entityManager
- The entity manager to which to bind the criteria builderBlazeRoot<T> from(java.lang.Class<T> entityClass, java.lang.String alias)
CriteriaDelete.from(Class)
but allows to set the alias of the BlazeRoot
.entityClass
- the entity classalias
- The alias for the BlazeRoot
BlazeRoot<T> from(javax.persistence.metamodel.EntityType<T> entityType, java.lang.String alias)
CriteriaDelete.from(EntityType)
but allows to set the alias of the BlazeRoot
.entityType
- the entity typealias
- The alias for the BlazeRoot
BlazeRoot<T> from(java.lang.Class<T> entityClass)
from
in interface CriteriaDelete<T>
BlazeRoot<T> from(javax.persistence.metamodel.EntityType<T> entity)
from
in interface CriteriaDelete<T>
BlazeRoot<T> getRoot()
getRoot
in interface CriteriaDelete<T>
BlazeCriteriaDelete<T> where(Expression<java.lang.Boolean> restriction)
where
in interface CriteriaDelete<T>
BlazeCriteriaDelete<T> where(Predicate... restrictions)
where
in interface CriteriaDelete<T>
Copyright © 2014–2018 Blazebit. All rights reserved.