Interface JpaFrom<O,T>

All Superinterfaces:
Expression<T>, FetchParent<O,T>, From<O,T>, JpaCriteriaNode, JpaExpression<T>, JpaFetchParent<O,T>, JpaPath<T>, JpaSelection<T>, JpaTupleElement<T>, Path<T>, Selection<T>, Serializable, TupleElement<T>
All Known Subinterfaces:
JpaCollectionJoin<O,T>, JpaCrossJoin<T>, JpaDerivedFrom<T>, JpaDerivedJoin<T>, JpaDerivedRoot<T>, JpaEntityJoin<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 JpaFrom<O,T> extends JpaPath<T>, JpaFetchParent<O,T>, From<O,T>
API extension to the JPA From contract
Author:
Steve Ebersole
  • Method Details

    • getCorrelationParent

      JpaFrom<O,T> getCorrelationParent()
      Description copied from interface: From
      Returns the parent From object from which the correlated From object has been obtained through correlation (use of a Subquery correlate method).
      Specified by:
      getCorrelationParent in interface From<O,T>
      Returns:
      the parent of the correlated From object
    • join

      <X> JpaEntityJoin<X> join(Class<X> entityJavaType)
    • join

      <X> JpaEntityJoin<X> join(EntityDomainType<X> entity)
    • join

      <X> JpaEntityJoin<X> join(Class<X> entityJavaType, SqmJoinType joinType)
    • join

      <X> JpaEntityJoin<X> join(EntityDomainType<X> entity, SqmJoinType joinType)
    • join

      @Incubating <X> JpaDerivedJoin<X> join(Subquery<X> subquery)
    • join

      @Incubating <X> JpaDerivedJoin<X> join(Subquery<X> subquery, SqmJoinType joinType)
    • joinLateral

      @Incubating <X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery)
    • joinLateral

      @Incubating <X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery, SqmJoinType joinType)
    • join

      @Incubating <X> JpaDerivedJoin<X> join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral)
    • join

      @Incubating <X> JpaJoinedFrom<?,X> join(JpaCteCriteria<X> cte)
    • join

      @Incubating <X> JpaJoinedFrom<?,X> join(JpaCteCriteria<X> cte, SqmJoinType joinType)
    • crossJoin

      @Incubating <X> JpaCrossJoin<X> crossJoin(Class<X> entityJavaType)
    • crossJoin

      @Incubating <X> JpaCrossJoin<X> crossJoin(EntityDomainType<X> entity)
    • join

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

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

      <Y> JpaCollectionJoin<T,Y> join(CollectionAttribute<? super T,Y> collection)
      Description copied from interface: From
      Create an inner join to the specified Collection-valued attribute.
      Specified by:
      join in interface From<O,T>
      Parameters:
      collection - target of the join
      Returns:
      the resulting join
    • join

      <Y> JpaSetJoin<T,Y> join(SetAttribute<? super T,Y> set)
      Description copied from interface: From
      Create an inner join to the specified Set-valued attribute.
      Specified by:
      join in interface From<O,T>
      Parameters:
      set - target of the join
      Returns:
      the resulting join
    • join

      <Y> JpaListJoin<T,Y> join(ListAttribute<? super T,Y> list)
      Description copied from interface: From
      Create an inner join to the specified List-valued attribute.
      Specified by:
      join in interface From<O,T>
      Parameters:
      list - target of the join
      Returns:
      the resulting join
    • join

      <K, V> JpaMapJoin<T,K,V> join(MapAttribute<? super T,K,V> map)
      Description copied from interface: From
      Create an inner join to the specified Map-valued attribute.
      Specified by:
      join in interface From<O,T>
      Parameters:
      map - target of the join
      Returns:
      the resulting join
    • join

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

      <Y> JpaSetJoin<T,Y> join(SetAttribute<? super T,Y> set, JoinType jt)
      Description copied from interface: From
      Create a join to the specified Set-valued attribute using the given join type.
      Specified by:
      join in interface From<O,T>
      Parameters:
      set - target of the join
      jt - join type
      Returns:
      the resulting join
    • join

      <Y> JpaListJoin<T,Y> join(ListAttribute<? super T,Y> list, JoinType jt)
      Description copied from interface: From
      Create a join to the specified List-valued attribute using the given join type.
      Specified by:
      join in interface From<O,T>
      Parameters:
      list - target of the join
      jt - join type
      Returns:
      the resulting join
    • join

      <K, V> JpaMapJoin<T,K,V> join(MapAttribute<? super T,K,V> map, JoinType jt)
      Description copied from interface: From
      Create a join to the specified Map-valued attribute using the given join type.
      Specified by:
      join in interface From<O,T>
      Parameters:
      map - target of the join
      jt - join type
      Returns:
      the resulting join
    • join

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

      <X, Y> JpaCollectionJoin<X,Y> joinCollection(String attributeName)
      Description copied from interface: From
      Create an inner join to the specified Collection-valued attribute.
      Specified by:
      joinCollection in interface From<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      Returns:
      the resulting join
    • joinSet

      <X, Y> JpaSetJoin<X,Y> joinSet(String attributeName)
      Description copied from interface: From
      Create an inner join to the specified Set-valued attribute.
      Specified by:
      joinSet in interface From<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      Returns:
      the resulting join
    • joinList

      <X, Y> JpaListJoin<X,Y> joinList(String attributeName)
      Description copied from interface: From
      Create an inner join to the specified List-valued attribute.
      Specified by:
      joinList in interface From<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      Returns:
      the resulting join
    • joinMap

      <X, K, V> JpaMapJoin<X,K,V> joinMap(String attributeName)
      Description copied from interface: From
      Create an inner join to the specified Map-valued attribute.
      Specified by:
      joinMap in interface From<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      Returns:
      the resulting join
    • join

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

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

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

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

      <X, K, V> JpaMapJoin<X,K,V> joinMap(String attributeName, JoinType jt)
      Description copied from interface: From
      Create a join to the specified Map-valued attribute using the given join type.
      Specified by:
      joinMap in interface From<O,T>
      Parameters:
      attributeName - name of the attribute for the target of the join
      jt - join type
      Returns:
      the resulting join