Uses of Interface
jakarta.persistence.criteria.Path

Packages that use Path
Package
Description
Jakarta Persistence Criteria API
  • Uses of Path 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 
    From<Z,X>
    Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.
    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 Path
    Modifier and Type
    Method
    Description
    <Y> Path<Y>
    Path.get(SingularAttribute<? super X,Y> attribute)
    Create a path corresponding to the referenced single-valued attribute.
    <Y> Path<Y>
    Path.get(String attributeName)
    Create a path corresponding to the referenced attribute.
    Path<?>
    Return the parent "node" in the path or null if no parent.
    MapJoin.key()
    Create a path expression that corresponds to the map key.
    <X, T extends X>
    Path<T>
    CriteriaBuilder.treat(Path<X> path, Class<T> type)
    Downcast Path object to the specified type.
    MapJoin.value()
    Create a path expression that corresponds to the map value.
    Methods in jakarta.persistence.criteria with parameters of type Path
    Modifier and Type
    Method
    Description
    CriteriaUpdate.set(Path<Y> attribute, Expression<? extends Y> value)
    Update the value of the specified attribute.
    <Y, X extends Y>
    CriteriaUpdate<T>
    CriteriaUpdate.set(Path<Y> attribute, X value)
    Update the value of the specified attribute.
    <X, T extends X>
    Path<T>
    CriteriaBuilder.treat(Path<X> path, Class<T> type)
    Downcast Path object to the specified type.