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:
AbstractPersistentEntityFrom
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, Join.Type jt) Joins the entity with specific join type.join(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, jakarta.persistence.criteria.JoinType jt) <X,Y> @Nullable 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.Expression
cast, equalTo, equalTo, notEqualTo, notEqualToMethods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, joinMap, joinMapMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitExpression, visitSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Path
get, get, getModel, getParentPath, typeMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, get, get, get, getPersistentEntity
-
Method Details
-
getPersistentJoins
Collection<PersistentAssociationPath<AssociatedEntityType,?>> getPersistentJoins()- Returns:
- The persistent joins
-
join
- Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
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
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
<X,Y> PersistentEntityJoin<X,Y> join(String attributeName, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute, Join.Type jt) Joins the entity with specific join type.- Type Parameters:
Y- The association entity type- Parameters:
attribute- The attributejt- The join type- Returns:
- The joined entity
-
join
<Y> PersistentEntityJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super AssociatedEntityType, Y> attribute) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityCollectionJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.CollectionAttribute<? super AssociatedEntityType, Y> collection) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityListJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntityListJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.ListAttribute<? super AssociatedEntityType, Y> list, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinList
- Specified by:
joinListin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinList
<X,Y> PersistentEntityListJoin<X,Y> joinList(String attributeName, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinListin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinCollection
- Specified by:
joinCollectionin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinCollection
<X,Y> PersistentEntityCollectionJoin<X,Y> joinCollection(String attributeName, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinCollectionin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntitySetJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
join
<Y> PersistentEntitySetJoin<AssociatedEntityType,Y> join(jakarta.persistence.metamodel.SetAttribute<? super AssociatedEntityType, Y> set, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinSet
- Specified by:
joinSetin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-
joinSet
<X,Y> PersistentEntitySetJoin<X,Y> joinSet(String attributeName, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinSetin interfacejakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>
-