Interface SourcePersistentEntityCriteriaQuery<T>
- Type Parameters:
T
- The entity type
- All Superinterfaces:
jakarta.persistence.criteria.AbstractQuery<T>
,jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.CriteriaQuery<T>
,PersistentEntityCommonAbstractCriteria
,PersistentEntityCriteriaQuery<T>
,PersistentEntityQuery<T>
The source persistent entity extension of
PersistentEntityCriteriaQuery
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription<X> @NonNull PersistentEntityRoot<X>
from
(@NonNull io.micronaut.inject.ast.ClassElement entityClassElement) Creates aPersistentEntityRoot
from class element representing the entity.@Nullable String
Methods inherited from interface jakarta.persistence.criteria.AbstractQuery
getGroupList, getGroupRestriction, getResultType, getRoots, getSelection, isDistinct
Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getRestriction
Methods inherited from interface jakarta.persistence.criteria.CriteriaQuery
getOrderList, getParameters
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityCommonAbstractCriteria
subquery, subquery
-
Method Details
-
from
@NonNull <X> @NonNull PersistentEntityRoot<X> from(@NonNull @NonNull io.micronaut.inject.ast.ClassElement entityClassElement) Creates aPersistentEntityRoot
from class element representing the entity.- Type Parameters:
X
- The root type- Parameters:
entityClassElement
- The entity class element- Returns:
- new root
-
getQueryResultTypeName
- Returns:
- The query result type name
-