Uses of Record Class
jakarta.data.Sort

Packages that use Sort
Package
Description
Jakarta Data provides an API that makes data access easy.
A static metamodel for entities that are used in Jakarta Data repositories.
Splits query results into slices or pages.
  • Uses of Sort in jakarta.data

    Methods in jakarta.data that return Sort
    Modifier and Type
    Method
    Description
    static Sort
    Sort.asc(String property)
    Create a Sort instance with ascending direction Direction.ASC that does not request case insensitive ordering.
    static Sort
    Sort.ascIgnoreCase(String property)
    Create a Sort instance with ascending direction Direction.ASC and case insensitive ordering.
    static Sort
    Sort.desc(String property)
    Create a Sort instance with descending direction Direction.DESC that does not request case insensitive ordering.
    static Sort
    Sort.descIgnoreCase(String property)
    Create a Sort instance with descending direction Direction.DESC and case insensitive ordering.
    static Sort
    Sort.of(String property, Direction direction, boolean ignoreCase)
    Create a Sort instance
  • Uses of Sort in jakarta.data.model

    Methods in jakarta.data.model that return Sort
    Modifier and Type
    Method
    Description
    final Sort
    Attribute.asc()
    Obtain a request for an ascending Sort based on the entity attribute.
    AttributeInfo.asc()
    Returns a request for an ascending Sort based on the entity attribute.
    final Sort
    Attribute.ascIgnoreCase()
    Obtain a request for an ascending, case insensitive Sort based on the entity attribute.
    AttributeInfo.ascIgnoreCase()
    Returns a request for an ascending, case insensitive Sort based on the entity attribute.
    final Sort
    Attribute.desc()
    Obtain a request for a descending Sort based on the entity attribute.
    AttributeInfo.desc()
    Returns a request for a descending Sort based on the entity attribute.
    final Sort
    Attribute.descIgnoreCase()
    Obtain a request for a descending, case insensitive Sort based on the entity attribute.
    AttributeInfo.descIgnoreCase()
    Returns a request for a descending, case insensitive Sort based on the entity attribute.
  • Uses of Sort in jakarta.data.page

    Methods in jakarta.data.page that return types with arguments of type Sort
    Modifier and Type
    Method
    Description
    Pageable.sorts()
    Return the order collection if it was specified on this Pageable, otherwise an empty list.
    Methods in jakarta.data.page with parameters of type Sort
    Modifier and Type
    Method
    Description
    Pageable.sortBy(Sort... sorts)
    Creates a new Pageable instance representing the same pagination information, except using the specified sort criteria.
    Method parameters in jakarta.data.page with type arguments of type Sort
    Modifier and Type
    Method
    Description
    Pageable.sortBy(Iterable<Sort> sorts)
    Creates a new Pageable instance representing the same pagination information, except using the specified sort criteria.