Uses of Interface
jakarta.persistence.criteria.Join

Packages that use Join
Package
Description
Jakarta Persistence Criteria API
  • Uses of Join in jakarta.persistence.criteria

    Modifier and Type
    Interface
    Description
    interface 
    The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a Collection.
    interface 
    The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a List.
    interface 
    MapJoin<Z,K,V>
    The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a Map.
    interface 
    PluralJoin<Z,C,E>
    The PluralJoin interface defines functionality that is common to joins to all collection types.
    interface 
    SetJoin<Z,E>
    The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a Set.
    Methods in jakarta.persistence.criteria that return Join
    Modifier and Type
    Method
    Description
    <X, Y> Join<X,Y>
    Subquery.correlate(Join<X,Y> parentJoin)
    Create a subquery join object correlated to a join object of the enclosing query.
    <Y> Join<X,Y>
    From.join(EntityType<Y> entity)
    Create and add an inner join to the given entity.
    <Y> Join<X,Y>
    From.join(EntityType<Y> entity, JoinType joinType)
    Create and add a join to the given entity.
    <Y> Join<X,Y>
    From.join(SingularAttribute<? super X,Y> attribute)
    Create an inner join to the specified single-valued attribute.
    <Y> Join<X,Y>
    From.join(SingularAttribute<? super X,Y> attribute, JoinType jt)
    Create a join to the specified single-valued attribute using the given join type.
    <Y> Join<X,Y>
    From.join(Class<Y> entityClass)
    Create and add an inner join to the given entity.
    <Y> Join<X,Y>
    From.join(Class<Y> entityClass, JoinType joinType)
    Create and add a join to the given entity.
    <X, Y> Join<X,Y>
    From.join(String attributeName)
    Create an inner join to the specified attribute.
    <X, Y> Join<X,Y>
    From.join(String attributeName, JoinType jt)
    Create a join to the specified attribute using the given join type.
    Join.on(Expression<Boolean> restriction)
    Modify the join to restrict the result according to the specified ON condition and return the join object.
    Join.on(Predicate... restrictions)
    Modify the join to restrict the result according to the specified ON condition and return the join object.
    <X, T, V extends T>
    Join<X,V>
    CriteriaBuilder.treat(Join<X,T> join, Class<V> type)
    Downcast Join object to the specified type.
    Methods in jakarta.persistence.criteria that return types with arguments of type Join
    Modifier and Type
    Method
    Description
    Set<Join<?,?>>
    Return the correlated joins of the subquery.
    Set<Join<X,?>>
    From.getJoins()
    Return the joins that have been made from this bound type.
    Methods in jakarta.persistence.criteria with parameters of type Join
    Modifier and Type
    Method
    Description
    <X, Y> Join<X,Y>
    Subquery.correlate(Join<X,Y> parentJoin)
    Create a subquery join object correlated to a join object of the enclosing query.
    <X, T, V extends T>
    Join<X,V>
    CriteriaBuilder.treat(Join<X,T> join, Class<V> type)
    Downcast Join object to the specified type.