Interface BlazeCriteriaUpdate<T>
- Type Parameters:
T- the entity type that is the target of the update
- All Superinterfaces:
BlazeCommonAbstractCriteria,CommonAbstractCriteria,CriteriaUpdate<T>
An extended version of
CriteriaUpdate.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptioncreateCriteriaBuilder(EntityManager entityManager) Create a Blaze-Persistence CoreUpdateCriteriaBuilderfrom this query.LikeCriteriaUpdate.from(Class)but allows to set the alias of theBlazeRoot.LikeCriteriaUpdate.from(EntityType)but allows to set the alias of theBlazeRoot.getRoot()<Y> BlazeCriteriaUpdate<T>set(Path<Y> attribute, Expression<? extends Y> value) <Y,X extends Y>
BlazeCriteriaUpdate<T><Y> BlazeCriteriaUpdate<T>set(javax.persistence.metamodel.SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) <Y,X extends Y>
BlazeCriteriaUpdate<T>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 CoreUpdateCriteriaBuilderfrom this query.- Parameters:
entityManager- The entity manager to which to bind the criteria builder- Returns:
- A new criteria builder
- Since:
- 1.3.0
-
from
LikeCriteriaUpdate.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
LikeCriteriaUpdate.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 interfaceCriteriaUpdate<T>
-
from
- Specified by:
fromin interfaceCriteriaUpdate<T>
-
getRoot
- Specified by:
getRootin interfaceCriteriaUpdate<T>
-
set
<Y,X extends Y> BlazeCriteriaUpdate<T> set(javax.persistence.metamodel.SingularAttribute<? super T, Y> attribute, X value) - Specified by:
setin interfaceCriteriaUpdate<T>
-
set
<Y> BlazeCriteriaUpdate<T> set(javax.persistence.metamodel.SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) - Specified by:
setin interfaceCriteriaUpdate<T>
-
set
- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
- Specified by:
setin interfaceCriteriaUpdate<T>
-
where
- Specified by:
wherein interfaceCriteriaUpdate<T>
-
where
- Specified by:
wherein interfaceCriteriaUpdate<T>
-