Package org.hibernate.query.criteria
Interface JpaFetchParent<O,T>
- All Superinterfaces:
FetchParent<O,T>
- All Known Subinterfaces:
JpaCollectionJoin<O,,T> JpaCrossJoin<T>,JpaDerivedFrom<T>,JpaDerivedJoin<T>,JpaDerivedRoot<T>,JpaEntityJoin<T>,JpaFetch<O,,T> JpaFrom<O,,T> JpaJoin<O,,T> JpaJoinedFrom<O,,T> JpaListJoin<O,,T> JpaMapJoin<O,,K, V> JpaPluralJoin<O,,C, E> JpaRoot<T>,JpaSetJoin<O,,T> SqmAttributeJoin<O,,T> SqmCorrelation<O,,T> SqmFrom<O,,T> SqmJoin<O,,T> SqmQualifiedJoin<O,T>
- All Known Implementing Classes:
AbstractSqmAttributeJoin,AbstractSqmFrom,AbstractSqmJoin,AbstractSqmPluralJoin,AbstractSqmQualifiedJoin,SqmBagJoin,SqmCorrelatedBagJoin,SqmCorrelatedCrossJoin,SqmCorrelatedEntityJoin,SqmCorrelatedListJoin,SqmCorrelatedMapJoin,SqmCorrelatedPluralPartJoin,SqmCorrelatedRoot,SqmCorrelatedRootJoin,SqmCorrelatedSetJoin,SqmCorrelatedSingularJoin,SqmCrossJoin,SqmCteJoin,SqmCteRoot,SqmDerivedJoin,SqmDerivedRoot,SqmEntityJoin,SqmListJoin,SqmMapJoin,SqmPluralPartJoin,SqmRoot,SqmSetJoin,SqmSingularJoin,SqmTreatedBagJoin,SqmTreatedCrossJoin,SqmTreatedEntityJoin,SqmTreatedListJoin,SqmTreatedMapJoin,SqmTreatedPluralPartJoin,SqmTreatedRoot,SqmTreatedSetJoin,SqmTreatedSingularJoin
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionfetch(PluralAttribute<? super T, ?, Y> attribute) Create a fetch join to the specified collection-valued attribute using an inner join.fetch(PluralAttribute<? super T, ?, Y> attribute, JoinType jt) Create a fetch join to the specified collection-valued attribute using the given join type.fetch(SingularAttribute<? super T, Y> attribute) Create a fetch join to the specified single-valued attribute using an inner join.fetch(SingularAttribute<? super T, Y> attribute, JoinType jt) Create a fetch join to the specified single-valued attribute using the given join type.<X,Y> JpaFetch<X, Y> Create a fetch join to the specified attribute using an inner join.<X,Y> JpaFetch<X, Y> Create a fetch join to the specified attribute using the given join type.Return the fetch joins that have been made from this type.
-
Method Details
-
getFetches
Description copied from interface:FetchParentReturn the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query.- Specified by:
getFetchesin interfaceFetchParent<O,T> - Returns:
- fetch joins made from this type
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified single-valued attribute using an inner join.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attribute- target of the join- Returns:
- the resulting fetch join
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified single-valued attribute using the given join type.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attribute- target of the joinjt- join type- Returns:
- the resulting fetch join
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified collection-valued attribute using an inner join.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attribute- target of the join- Returns:
- the resulting join
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified collection-valued attribute using the given join type.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attribute- target of the joinjt- join type- Returns:
- the resulting join
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified attribute using an inner join.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attributeName- name of the attribute for the target of the join- Returns:
- the resulting fetch join
-
fetch
Description copied from interface:FetchParentCreate a fetch join to the specified attribute using the given join type.- Specified by:
fetchin interfaceFetchParent<O,T> - Parameters:
attributeName- name of the attribute for the target of the joinjt- join type- Returns:
- the resulting fetch join
-