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

public interface JpaFetchParent<O,T> extends FetchParent<O,T>
Author:
Steve Ebersole
  • Method Summary

    Modifier and Type
    Method
    Description
    <Y> JpaFetch<T,Y>
    fetch(PluralAttribute<? super T,?,Y> attribute)
    Create a fetch join to the specified collection-valued attribute using an inner join.
    <Y> JpaFetch<T,Y>
    fetch(PluralAttribute<? super T,?,Y> attribute, JoinType jt)
    Create a fetch join to the specified collection-valued attribute using the given join type.
    <Y> JpaFetch<T,Y>
    fetch(SingularAttribute<? super T,Y> attribute)
    Create a fetch join to the specified single-valued attribute using an inner join.
    <Y> JpaFetch<T,Y>
    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>
    fetch(String attributeName)
    Create a fetch join to the specified attribute using an inner join.
    <X, Y> JpaFetch<X,Y>
    fetch(String attributeName, JoinType jt)
    Create a fetch join to the specified attribute using the given join type.
    Set<Fetch<T,?>>
    Return the fetch joins that have been made from this type.
  • Method Details

    • getFetches

      Set<Fetch<T,?>> getFetches()
      Description copied from interface: FetchParent
      Return 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:
      getFetches in interface FetchParent<O,T>
      Returns:
      fetch joins made from this type
    • fetch

      <Y> JpaFetch<T,Y> fetch(SingularAttribute<? super T,Y> attribute)
      Description copied from interface: FetchParent
      Create a fetch join to the specified single-valued attribute using an inner join.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attribute - target of the join
      Returns:
      the resulting fetch join
    • fetch

      <Y> JpaFetch<T,Y> fetch(SingularAttribute<? super T,Y> attribute, JoinType jt)
      Description copied from interface: FetchParent
      Create a fetch join to the specified single-valued attribute using the given join type.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attribute - target of the join
      jt - join type
      Returns:
      the resulting fetch join
    • fetch

      <Y> JpaFetch<T,Y> fetch(PluralAttribute<? super T,?,Y> attribute)
      Description copied from interface: FetchParent
      Create a fetch join to the specified collection-valued attribute using an inner join.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attribute - target of the join
      Returns:
      the resulting join
    • fetch

      <Y> JpaFetch<T,Y> fetch(PluralAttribute<? super T,?,Y> attribute, JoinType jt)
      Description copied from interface: FetchParent
      Create a fetch join to the specified collection-valued attribute using the given join type.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attribute - target of the join
      jt - join type
      Returns:
      the resulting join
    • fetch

      <X, Y> JpaFetch<X,Y> fetch(String attributeName)
      Description copied from interface: FetchParent
      Create a fetch join to the specified attribute using an inner join.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      Returns:
      the resulting fetch join
    • fetch

      <X, Y> JpaFetch<X,Y> fetch(String attributeName, JoinType jt)
      Description copied from interface: FetchParent
      Create a fetch join to the specified attribute using the given join type.
      Specified by:
      fetch in interface FetchParent<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      jt - join type
      Returns:
      the resulting fetch join