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 aPersistentEntityRootfrom class element representing the entity.@Nullable StringMethods inherited from interface jakarta.persistence.criteria.AbstractQuery
getGroupList, getGroupRestriction, getResultType, getRoots, isDistinctMethods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria
getRestrictionMethods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNullMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityCommonAbstractCriteria
getPersistentEntity, subquery, subqueryMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityQuery
from, orderBy, orderByMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntitySubquery
distinct, from, from, getExpressionType, groupBy, groupBy, having, having, limit, offset, select, where, whereMethods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Subquery
correlate, correlate, correlate, correlate, correlate, correlate, getContainingQuery, getCorrelatedJoins, getParent, getSelectionMethods 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 aPersistentEntityRootfrom 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
-