Interface SourcePersistentEntitySubquery<T>
- Type Parameters:
T
- The entity type
- All Superinterfaces:
jakarta.persistence.criteria.AbstractQuery<T>
,jakarta.persistence.criteria.CommonAbstractCriteria
,jakarta.persistence.criteria.Expression<T>
,PersistentEntityCommonAbstractCriteria
,PersistentEntityQuery<T>
,PersistentEntitySubquery<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.criteria.Subquery<T>
,jakarta.persistence.TupleElement<T>
The source persistent entity extension of
PersistentEntitySubquery
.- Since:
- 4.10
- 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, isDistinct
Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getRestriction
Methods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityCommonAbstractCriteria
subquery, subquery
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityQuery
from, orderBy, orderBy
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntitySubquery
distinct, from, from, getExpressionType, groupBy, groupBy, having, having, limit, offset, select, where, where
Methods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.criteria.Subquery
correlate, correlate, correlate, correlate, correlate, correlate, getContainingQuery, getCorrelatedJoins, getParent, getSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
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
-