Uses of Interface
jakarta.persistence.criteria.From

Packages that use From
Package
Description
Defines the Jakarta Persistence Criteria Query API.
  • Uses of From 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 
    Join<Z,X>
    A join to an entity, embeddable, or basic type.
    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 
    Root<X>
    A root type in the from clause.
    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 From
    Modifier and Type
    Method
    Description
    <X,Y> From<X,Y>
    Subquery.correlate(From<X,Y> parent)
    Create a subquery root or join correlated to a root or join of the enclosing query.
    Returns the parent From object from which the correlated From object has been obtained through correlation (use of Subquery.correlate(From) method).
    From<?,Z>
    Join.getParent()
    Return the parent of the join.
    <X, Y, T extends Y>
    From<X,T>
    CriteriaBuilder.treat(From<X,Y> from, Class<T> type)
    Downcast Root or Join to the specified type.
    <T extends X>
    From<?,T>
    From.treat(Class<T> type)
    Downcast the bound type to the given type.
    Methods in jakarta.persistence.criteria with parameters of type From
    Modifier and Type
    Method
    Description
    <X,Y> From<X,Y>
    Subquery.correlate(From<X,Y> parent)
    Create a subquery root or join correlated to a root or join of the enclosing query.
    <X, Y, T extends Y>
    From<X,T>
    CriteriaBuilder.treat(From<X,Y> from, Class<T> type)
    Downcast Root or Join to the specified type.