Class AbstractPersistentEntityJoinSupport<J,E>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.AbstractPersistentEntityJoinSupport<J,E>
- Type Parameters:
J- The associated entity owner typeE- The association entity type
- All Implemented Interfaces:
IExpression<E>,ISelection<E>,PersistentEntityFrom<J,,E> PersistentEntityPath<E>,jakarta.persistence.criteria.Expression<E>,jakarta.persistence.criteria.FetchParent<J,,E> jakarta.persistence.criteria.From<J,,E> jakarta.persistence.criteria.Path<E>,jakarta.persistence.criteria.Selection<E>,jakarta.persistence.TupleElement<E>
@Internal
public abstract class AbstractPersistentEntityJoinSupport<J,E>
extends Object
implements PersistentEntityFrom<J,E>
The abstract implementation of
PersistentEntityFrom.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <Y> PersistentAssociationPath<E,Y> createJoinAssociation(@NonNull Association association, Join.Type type, @Nullable String alias) <Y> jakarta.persistence.criteria.Fetch<E,Y> <Y> jakarta.persistence.criteria.Fetch<E,Y> fetch(jakarta.persistence.metamodel.PluralAttribute<? super E, ?, Y> attribute, jakarta.persistence.criteria.JoinType jt) <Y> jakarta.persistence.criteria.Fetch<E,Y> <Y> jakarta.persistence.criteria.Fetch<E,Y> fetch(jakarta.persistence.metamodel.SingularAttribute<? super E, Y> attribute, jakarta.persistence.criteria.JoinType jt) <X,Y> jakarta.persistence.criteria.Fetch<X, Y> <X,Y> jakarta.persistence.criteria.Fetch<X, Y> getJoins()abstract PersistentEntityboolean<Y> PersistentEntityCollectionJoin<E,Y> <Y> PersistentEntityCollectionJoin<E,Y> join(jakarta.persistence.metamodel.CollectionAttribute<? super E, Y> collection, jakarta.persistence.criteria.JoinType jt) <Y> PersistentEntityListJoin<E,Y> <Y> PersistentEntityListJoin<E,Y> join(jakarta.persistence.metamodel.ListAttribute<? super E, Y> list, jakarta.persistence.criteria.JoinType jt) <K,V> jakarta.persistence.criteria.MapJoin<E, K, V> <K,V> jakarta.persistence.criteria.MapJoin<E, K, V> join(jakarta.persistence.metamodel.MapAttribute<? super E, K, V> map, jakarta.persistence.criteria.JoinType jt) <Y> PersistentEntitySetJoin<E,Y> <Y> PersistentEntitySetJoin<E,Y> join(jakarta.persistence.metamodel.SetAttribute<? super E, Y> set, jakarta.persistence.criteria.JoinType jt) <Y> PersistentEntityJoin<E,Y> <Y> PersistentEntityJoin<E,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super E, 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,K, V> jakarta.persistence.criteria.MapJoin<X, K, V> <X,K, V> jakarta.persistence.criteria.MapJoin<X, K, V> <X,Y> PersistentEntitySetJoin<X, Y> <X,Y> PersistentEntitySetJoin<X, Y> type()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
getModel, getParentPathMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, get, get, get
-
Field Details
-
joins
-
-
Constructor Details
-
AbstractPersistentEntityJoinSupport
public AbstractPersistentEntityJoinSupport()
-
-
Method Details
-
getPersistentEntity
- Specified by:
getPersistentEntityin interfacePersistentEntityPath<J>- Returns:
- The persistent entity
-
createJoinAssociation
protected abstract <Y> PersistentAssociationPath<E,Y> createJoinAssociation(@NonNull @NonNull Association association, @Nullable Join.Type type, @Nullable @Nullable String alias) -
join
-
join
public <X,Y> PersistentEntityJoin<X,Y> join(String attributeName, jakarta.persistence.criteria.JoinType jt) -
join
Description copied from interface:PersistentEntityFromJoins the entity with specific join type.- Specified by:
joinin interfacePersistentEntityFrom<J,E> - Type Parameters:
X- The association owner typeY- The association entity type- Parameters:
attributeName- The joined associated propertytype- The join type- Returns:
- The joined entity
-
join
Description copied from interface:PersistentEntityFromJoins the entity with specific join type.- Specified by:
joinin interfacePersistentEntityFrom<J,E> - Type Parameters:
X- The association owner typeY- The association entity type- Parameters:
attributeName- The joined associated propertytype- The join typealias- The join alias- Returns:
- The joined entity
-
join
public <Y> PersistentEntityJoin<E,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super E, Y> attribute) -
join
public <Y> PersistentEntityJoin<E,Y> join(jakarta.persistence.metamodel.SingularAttribute<? super E, Y> attribute, jakarta.persistence.criteria.JoinType jt) -
join
public <Y> PersistentEntityCollectionJoin<E,Y> join(jakarta.persistence.metamodel.CollectionAttribute<? super E, Y> collection, jakarta.persistence.criteria.JoinType jt) -
join
public <Y> PersistentEntityCollectionJoin<E,Y> join(jakarta.persistence.metamodel.CollectionAttribute<? super E, Y> collection) -
join
public <Y> PersistentEntitySetJoin<E,Y> join(jakarta.persistence.metamodel.SetAttribute<? super E, Y> set) -
join
public <Y> PersistentEntityListJoin<E,Y> join(jakarta.persistence.metamodel.ListAttribute<? super E, Y> list) -
join
-
join
public <Y> PersistentEntitySetJoin<E,Y> join(jakarta.persistence.metamodel.SetAttribute<? super E, Y> set, jakarta.persistence.criteria.JoinType jt) -
join
public <Y> PersistentEntityListJoin<E,Y> join(jakarta.persistence.metamodel.ListAttribute<? super E, Y> list, jakarta.persistence.criteria.JoinType jt) -
join
-
joinCollection
- Specified by:
joinCollectionin interfacejakarta.persistence.criteria.From<J,E> - Specified by:
joinCollectionin interfacePersistentEntityFrom<J,E>
-
joinSet
-
joinList
-
joinMap
-
joinCollection
public <X,Y> PersistentEntityCollectionJoin<X,Y> joinCollection(String attributeName, jakarta.persistence.criteria.JoinType jt) - Specified by:
joinCollectionin interfacejakarta.persistence.criteria.From<J,E> - Specified by:
joinCollectionin interfacePersistentEntityFrom<J,E>
-
joinSet
public <X,Y> PersistentEntitySetJoin<X,Y> joinSet(String attributeName, jakarta.persistence.criteria.JoinType jt) -
joinList
public <X,Y> PersistentEntityListJoin<X,Y> joinList(String attributeName, jakarta.persistence.criteria.JoinType jt) -
joinMap
public <X,K, jakarta.persistence.criteria.MapJoin<X,V> K, joinMapV> (String attributeName, jakarta.persistence.criteria.JoinType jt) -
getJoins
-
getPersistentJoins
- Specified by:
getPersistentJoinsin interfacePersistentEntityFrom<J,E> - Returns:
- The persistent joins
-
getCorrelationParent
-
getFetches
-
fetch
-
fetch
-
fetch
-
fetch
-
fetch
-
fetch
public <X,Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(String attributeName, jakarta.persistence.criteria.JoinType jt) -
type
- Specified by:
typein interfacejakarta.persistence.criteria.Path<J>
-