Package org.hibernate.query.criteria
Interface JpaFetch<O,T>
-
- All Superinterfaces:
jakarta.persistence.criteria.Fetch<O,T>
,jakarta.persistence.criteria.FetchParent<O,T>
,JpaFetchParent<O,T>
- All Known Subinterfaces:
SqmAttributeJoin<O,T>
- All Known Implementing Classes:
AbstractSqmAttributeJoin
,AbstractSqmPluralJoin
,SqmBagJoin
,SqmCorrelatedBagJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmListJoin
,SqmMapJoin
,SqmSetJoin
,SqmSingularJoin
,SqmTreatedBagJoin
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedSetJoin
,SqmTreatedSingularJoin
public interface JpaFetch<O,T> extends JpaFetchParent<O,T>, jakarta.persistence.criteria.Fetch<O,T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Y> JpaFetch<T,Y>
fetch(jakarta.persistence.metamodel.PluralAttribute<? super T,?,Y> attribute)
<Y> JpaFetch<T,Y>
fetch(jakarta.persistence.metamodel.PluralAttribute<? super T,?,Y> attribute, jakarta.persistence.criteria.JoinType jt)
<Y> JpaFetch<T,Y>
fetch(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute)
<Y> JpaFetch<T,Y>
fetch(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute, jakarta.persistence.criteria.JoinType jt)
<X,Y>
JpaFetch<X,Y>fetch(String attributeName)
<X,Y>
JpaFetch<X,Y>fetch(String attributeName, jakarta.persistence.criteria.JoinType jt)
Set<jakarta.persistence.criteria.Fetch<T,?>>
getFetches()
JpaJoin<O,T>
on(JpaExpression<Boolean> restriction)
Add a restriction to the fetch.JpaJoin<O,T>
on(JpaPredicate... restrictions)
Add a restriction to the fetch.
-
-
-
Method Detail
-
getFetches
Set<jakarta.persistence.criteria.Fetch<T,?>> getFetches()
- Specified by:
getFetches
in interfacejakarta.persistence.criteria.FetchParent<O,T>
- Specified by:
getFetches
in interfaceJpaFetchParent<O,T>
-
fetch
<Y> JpaFetch<T,Y> fetch(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute)
-
fetch
<Y> JpaFetch<T,Y> fetch(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute, jakarta.persistence.criteria.JoinType jt)
-
fetch
<Y> JpaFetch<T,Y> fetch(jakarta.persistence.metamodel.PluralAttribute<? super T,?,Y> attribute)
-
fetch
<Y> JpaFetch<T,Y> fetch(jakarta.persistence.metamodel.PluralAttribute<? super T,?,Y> attribute, jakarta.persistence.criteria.JoinType jt)
-
on
JpaJoin<O,T> on(JpaExpression<Boolean> restriction)
Add a restriction to the fetch.
-
on
JpaJoin<O,T> on(JpaPredicate... restrictions)
Add a restriction to the fetch.
-
-