Interface PersistentEntityFrom<OwnerType,AssociatedEntityType>
- Type Parameters:
OwnerType
- The association owner typeAssociatedEntityType
- The association entity type
- All Superinterfaces:
jakarta.persistence.criteria.Expression<AssociatedEntityType>
,jakarta.persistence.criteria.FetchParent<OwnerType,
,AssociatedEntityType> jakarta.persistence.criteria.From<OwnerType,
,AssociatedEntityType> IExpression<AssociatedEntityType>
,ISelection<AssociatedEntityType>
,jakarta.persistence.criteria.Path<AssociatedEntityType>
,PersistentEntityPath<AssociatedEntityType>
,jakarta.persistence.criteria.Selection<AssociatedEntityType>
,jakarta.persistence.TupleElement<AssociatedEntityType>
- All Known Subinterfaces:
PersistentAssociationPath<OwnerType,
,AssociatedEntityType> PersistentCollectionAssociationPath<OwnerType,
,AssociatedEntityType> PersistentEntityCollectionJoin<OwnerType,
,AssociatedEntityType> PersistentEntityJoin<OwnerType,
,AssociatedEntityType> PersistentEntityListJoin<OwnerType,
,AssociatedEntityType> PersistentEntityRoot<T>
,PersistentEntitySetJoin<OwnerType,
,AssociatedEntityType> PersistentListAssociationPath<OwnerType,
,AssociatedEntityType> PersistentSetAssociationPath<OwnerType,
AssociatedEntityType>
- All Known Implementing Classes:
AbstractPersistentEntityJoinSupport
public interface PersistentEntityFrom<OwnerType,AssociatedEntityType>
extends jakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>, PersistentEntityPath<AssociatedEntityType>
The persistent entity
From
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription@NonNull Collection<PersistentAssociationPath<AssociatedEntityType,
?>> <Y> @NonNull PersistentEntityCollectionJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection) <Y> @NonNull PersistentEntityCollectionJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection, @NonNull jakarta.persistence.criteria.JoinType jt) <Y> @NonNull PersistentEntityListJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list) <Y> @NonNull PersistentEntityListJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list, @NonNull jakarta.persistence.criteria.JoinType jt) <Y> @NonNull PersistentEntitySetJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set) <Y> @NonNull PersistentEntitySetJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set, @NonNull jakarta.persistence.criteria.JoinType jt) <Y> @NonNull PersistentEntityJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute) <Y> @NonNull PersistentEntityJoin<AssociatedEntityType,
Y> join
(@NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, @NonNull jakarta.persistence.criteria.JoinType jt) <X,
Y> @Nullable PersistentEntityJoin<X, Y> <X,
Y> @NonNull PersistentEntityJoin<X, Y> <X,
Y> @NonNull PersistentEntityJoin<X, Y> Joins the entity with specific join type.<X,
Y> @NonNull PersistentEntityJoin<X, Y> Joins the entity with specific join type.<X,
Y> @NonNull PersistentEntityCollectionJoin<X, Y> joinCollection
(@NonNull String attributeName) <X,
Y> @NonNull PersistentEntityCollectionJoin<X, Y> joinCollection
(@NonNull String attributeName, @NonNull jakarta.persistence.criteria.JoinType jt) <X,
Y> @NonNull PersistentEntityListJoin<X, Y> <X,
Y> @NonNull PersistentEntityListJoin<X, Y> <X,
Y> @NonNull PersistentEntitySetJoin<X, Y> <X,
Y> @NonNull PersistentEntitySetJoin<X, Y> Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
Methods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, joinMap, joinMap
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumeric, visitExpression, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.criteria.Path
get, get, get, getModel, getParentPath, type
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, getPersistentEntity
Methods inherited from interface jakarta.persistence.TupleElement
getJavaType
-
Method Details
-
getPersistentJoins
@NonNull @NonNull Collection<PersistentAssociationPath<AssociatedEntityType,?>> getPersistentJoins()- Returns:
- The persistent joins
-
join
- Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <X,Y> @NonNull PersistentEntityJoin<X,Y> join(@NonNull @NonNull String attributeName, @NonNull Join.Type joinType) Joins the entity with specific join type.- Type Parameters:
X
- The association owner typeY
- The association entity type- Parameters:
attributeName
- The joined associated propertyjoinType
- The join type- Returns:
- The joined entity
-
join
@NonNull <X,Y> @NonNull PersistentEntityJoin<X,Y> join(@NonNull @NonNull String attributeName, @NonNull Join.Type joinType, @NonNull @NonNull String alias) Joins the entity with specific join type.- Type Parameters:
X
- The association owner typeY
- The association entity type- Parameters:
attributeName
- The joined associated propertyjoinType
- The join typealias
- The join alias- Returns:
- The joined entity
-
join
@NonNull <X,Y> @NonNull PersistentEntityJoin<X,Y> join(@NonNull @NonNull String attributeName, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityListJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntityListJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinList
@NonNull <X,Y> @NonNull PersistentEntityListJoin<X,Y> joinList(@NonNull @NonNull String attributeName) - Specified by:
joinList
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinList
@NonNull <X,Y> @NonNull PersistentEntityListJoin<X,Y> joinList(@NonNull @NonNull String attributeName, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinList
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinCollection
@NonNull <X,Y> @NonNull PersistentEntityCollectionJoin<X,Y> joinCollection(@NonNull @NonNull String attributeName) - Specified by:
joinCollection
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinCollection
@NonNull <X,Y> @NonNull PersistentEntityCollectionJoin<X,Y> joinCollection(@NonNull @NonNull String attributeName, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinCollection
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntitySetJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> @NonNull PersistentEntitySetJoin<AssociatedEntityType,Y> join(@NonNull @NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinSet
@NonNull <X,Y> @NonNull PersistentEntitySetJoin<X,Y> joinSet(@NonNull @NonNull String attributeName) - Specified by:
joinSet
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinSet
@NonNull <X,Y> @NonNull PersistentEntitySetJoin<X,Y> joinSet(@NonNull @NonNull String attributeName, @NonNull @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinSet
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-