Package org.hibernate.query.criteria
Interface JpaFetch<O,T>
- All Superinterfaces:
Fetch<O,T>,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 interfaceJpaFetch<O,T>extendsJpaFetchParent<O,T>,Fetch<O,T>
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Y> JpaFetch<T,Y>fetch(PluralAttribute<? superT,?,Y> attribute)<Y> JpaFetch<T,Y>fetch(PluralAttribute<? superT,?,Y> attribute,JoinType jt)<Y> JpaFetch<T,Y>fetch(SingularAttribute<? superT,Y> attribute)<Y> JpaFetch<T,Y>fetch(SingularAttribute<? superT,Y> attribute,JoinType jt)<X,Y>
JpaFetch<X,Y>fetch(String attributeName)<X,Y>
JpaFetch<X,Y>fetch(String attributeName,JoinType jt)Set<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.Methods inherited from interface jakarta.persistence.criteria.Fetch
getAttribute,getJoinType,getParent
Method Detail
getFetches
Set<Fetch<T,?>> getFetches()
- Specified by:
getFetchesin interfaceFetchParent<O,T>- Specified by:
getFetchesin interfaceJpaFetchParent<O,T>
fetch
<Y> JpaFetch<T,Y> fetch(SingularAttribute<? superT,Y> attribute)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
fetch
<Y> JpaFetch<T,Y> fetch(SingularAttribute<? superT,Y> attribute,JoinType jt)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
fetch
<Y> JpaFetch<T,Y> fetch(PluralAttribute<? superT,?,Y> attribute)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
fetch
<Y> JpaFetch<T,Y> fetch(PluralAttribute<? superT,?,Y> attribute,JoinType jt)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
fetch
<X,Y> JpaFetch<X,Y> fetch(String attributeName)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
fetch
<X,Y> JpaFetch<X,Y> fetch(String attributeName,JoinType jt)
- Specified by:
fetchin interfaceFetchParent<O,T>- Specified by:
fetchin interfaceJpaFetchParent<O,T>
on
JpaJoin<O,T> on(JpaExpression<Boolean> restriction)
Add a restriction to the fetch.- API Note:
- JPA does not allow restricting a fetch
on
JpaJoin<O,T> on(JpaPredicate... restrictions)
Add a restriction to the fetch.- API Note:
- JPA does not allow restricting a fetch