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, PersistentEntityCriteriaQueryBuilder, 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> PersistentEntityRoot<X> from(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
getParameters, getRestriction, subqueryMethods inherited from interface jakarta.persistence.criteria.Expression
as, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualToMethods inherited from interface PersistentEntityCommonAbstractCriteria
getPersistentEntity, subquery, subqueryMethods inherited from interface PersistentEntityCriteriaQueryBuilder
build, buildMethods inherited from interface PersistentEntityQuery
from, orderBy, orderByMethods inherited from interface 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, getSelection, having, whereMethods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Method Details
-
from
Creates aPersistentEntityRootfrom class element representing the entity.- Type Parameters:
X- The root type- Parameters:
entityClassElement- The entity class element- Returns:
- new root
-
getQueryResultTypeName
@Nullable String getQueryResultTypeName()- Returns:
- The query result type name
-