Interface PersistentEntityFrom<OwnerType,AssociatedEntityType> 
- Type Parameters:
- OwnerType- The association owner type
- AssociatedEntityType- 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 SummaryModifier and TypeMethodDescription<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.FetchParentfetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface jakarta.persistence.criteria.FromgetCorrelationParent, getJoins, isCorrelated, join, join, joinMap, joinMapMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpressionas, in, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumericMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelectionalias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Pathget, get, get, getModel, getParentPath, typeMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPathget, getPersistentEntityMethods inherited from interface jakarta.persistence.TupleElementgetJavaType
- 
Method Details- 
join- Specified by:
- joinin interface- jakarta.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 type
- Y- The association entity type
- Parameters:
- attributeName- The joined associated property
- joinType- 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 type
- Y- The association entity type
- Parameters:
- attributeName- The joined associated property
- joinType- The join type
- alias- 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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.persistence.criteria.From<OwnerType,- AssociatedEntityType> 
 
- 
joinList@NonNull <X,Y> @NonNull PersistentEntityListJoin<X,Y> joinList(@NonNull @NonNull String attributeName) - Specified by:
- joinListin interface- jakarta.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:
- joinListin interface- jakarta.persistence.criteria.From<OwnerType,- AssociatedEntityType> 
 
- 
joinCollection@NonNull <X,Y> @NonNull PersistentEntityCollectionJoin<X,Y> joinCollection(@NonNull @NonNull String attributeName) - Specified by:
- joinCollectionin interface- jakarta.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:
- joinCollectionin interface- jakarta.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:
- joinin interface- jakarta.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:
- joinin interface- jakarta.persistence.criteria.From<OwnerType,- AssociatedEntityType> 
 
- 
joinSet@NonNull <X,Y> @NonNull PersistentEntitySetJoin<X,Y> joinSet(@NonNull @NonNull String attributeName) - Specified by:
- joinSetin interface- jakarta.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:
- joinSetin interface- jakarta.persistence.criteria.From<OwnerType,- AssociatedEntityType> 
 
 
-