Interface PersistentEntityCriteriaUpdate<T>
- Type Parameters:
T
- The entity type
- All Superinterfaces:
jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.CriteriaUpdate<T>
,PersistentEntityCommonAbstractCriteria
- All Known Subinterfaces:
SourcePersistentEntityCriteriaUpdate<T>
- All Known Implementing Classes:
AbstractPersistentEntityCriteriaUpdate
public interface PersistentEntityCriteriaUpdate<T>
extends jakarta.persistence.criteria.CriteriaUpdate<T>, PersistentEntityCommonAbstractCriteria
The persistent entity
CriteriaUpdate
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription@NonNull PersistentEntityRoot<T>
from
(@NonNull PersistentEntity persistentEntity) @NonNull PersistentEntityRoot<T>
@NonNull PersistentEntityRoot<T>
@NonNull Set<jakarta.persistence.criteria.ParameterExpression<?>>
@NonNull PersistentEntityRoot<T>
getRoot()
@NonNull PersistentEntityCriteriaUpdate<T>
The returning result of the query.@NonNull PersistentEntityCriteriaUpdate<T>
returningMulti
(@NonNull jakarta.persistence.criteria.Selection<?>... selections) The returning result of the query.@NonNull PersistentEntityCriteriaUpdate<T>
returningMulti
(@NonNull List<jakarta.persistence.criteria.Selection<?>> selectionList) The returning result of the query.<Y> @NonNull PersistentEntityCriteriaUpdate<T>
set
(@NonNull jakarta.persistence.criteria.Path<Y> attribute, @NonNull jakarta.persistence.criteria.Expression<? extends Y> value) <Y,
X extends Y>
@NonNull PersistentEntityCriteriaUpdate<T>set
(@NonNull jakarta.persistence.criteria.Path<Y> attribute, X value) <Y> @NonNull PersistentEntityCriteriaUpdate<T>
set
(@NonNull jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute, @NonNull jakarta.persistence.criteria.Expression<? extends Y> value) <Y,
X extends Y>
@NonNull PersistentEntityCriteriaUpdate<T>@NonNull PersistentEntityCriteriaUpdate<T>
@NonNull PersistentEntityCriteriaUpdate<T>
@NonNull PersistentEntityCriteriaUpdate<T>
where
(@NonNull jakarta.persistence.criteria.Predicate... restrictions) Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getRestriction
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityCommonAbstractCriteria
subquery, subquery
-
Method Details
-
from
-
from
- Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
from
@NonNull @NonNull PersistentEntityRoot<T> from(@NonNull @NonNull jakarta.persistence.metamodel.EntityType<T> entity) - Specified by:
from
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
getRoot
- Specified by:
getRoot
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
set
@NonNull <Y,X extends Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute, @Nullable X value) - Specified by:
set
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
set
@NonNull <Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute, @NonNull @NonNull jakarta.persistence.criteria.Expression<? extends Y> value) - Specified by:
set
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
set
@NonNull <Y,X extends Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.criteria.Path<Y> attribute, @Nullable X value) - Specified by:
set
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
set
@NonNull <Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.criteria.Path<Y> attribute, @NonNull @NonNull jakarta.persistence.criteria.Expression<? extends Y> value) - Specified by:
set
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
set
@NonNull @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull String attributeName, @Nullable @Nullable Object value) - Specified by:
set
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
where
@NonNull @NonNull PersistentEntityCriteriaUpdate<T> where(@NonNull @NonNull jakarta.persistence.criteria.Expression<Boolean> restriction) - Specified by:
where
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
where
@NonNull @NonNull PersistentEntityCriteriaUpdate<T> where(@NonNull @NonNull jakarta.persistence.criteria.Predicate... restrictions) - Specified by:
where
in interfacejakarta.persistence.criteria.CriteriaUpdate<T>
-
getParameters
-
returning
@NonNull @NonNull PersistentEntityCriteriaUpdate<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 update criteria.
- Since:
- 4.2.0
-
returningMulti
@NonNull @NonNull PersistentEntityCriteriaUpdate<T> returningMulti(@NonNull @NonNull jakarta.persistence.criteria.Selection<?>... selections) The returning result of the query.- Parameters:
selections
- The multi selection to return- Returns:
- The update criteria.
- Since:
- 4.2.0
-
returningMulti
@NonNull @NonNull PersistentEntityCriteriaUpdate<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 update criteria.
- Since:
- 4.2.0
-