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 TypeMethodDescriptionjoin
(jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection) join
(jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection, jakarta.persistence.criteria.JoinType jt) join
(jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list) join
(jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list, jakarta.persistence.criteria.JoinType jt) join
(jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set) join
(jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set, jakarta.persistence.criteria.JoinType jt) join
(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute) join
(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, jakarta.persistence.criteria.JoinType jt) <X,
Y> PersistentEntityJoin<X, Y> <X,
Y> PersistentEntityJoin<X, Y> Joins the entity with specific join type.<X,
Y> PersistentEntityJoin<X, Y> Joins the entity with specific join type.<X,
Y> PersistentEntityJoin<X, Y> <X,
Y> PersistentEntityCollectionJoin<X, Y> joinCollection
(String attributeName) <X,
Y> PersistentEntityCollectionJoin<X, Y> joinCollection
(String attributeName, jakarta.persistence.criteria.JoinType jt) <X,
Y> PersistentEntityListJoin<X, Y> <X,
Y> PersistentEntityListJoin<X, Y> <X,
Y> PersistentEntitySetJoin<X, Y> <X,
Y> 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
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
-
join
- Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <X,Y> PersistentEntityJoin<X,Y> join(@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> PersistentEntityJoin<X,Y> join(@NonNull String attributeName, @NonNull Join.Type joinType, @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> PersistentEntityJoin<X,Y> join(@NonNull String attributeName, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityListJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntityListJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinList
- Specified by:
joinList
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinList
@NonNull <X,Y> PersistentEntityListJoin<X,Y> joinList(@NonNull String attributeName, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinList
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinCollection
- Specified by:
joinCollection
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinCollection
@NonNull <X,Y> PersistentEntityCollectionJoin<X,Y> joinCollection(@NonNull String attributeName, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinCollection
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntitySetJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
join
@NonNull <Y> PersistentEntitySetJoin<AssociatedEntityType,Y> join(@NonNull jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
join
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinSet
- Specified by:
joinSet
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-
joinSet
@NonNull <X,Y> PersistentEntitySetJoin<X,Y> joinSet(@NonNull String attributeName, @NonNull jakarta.persistence.criteria.JoinType jt) - Specified by:
joinSet
in interfacejakarta.persistence.criteria.From<OwnerType,
AssociatedEntityType>
-