Uses of Record Class
jakarta.data.Sort
Packages that use Sort
Package
Description
Jakarta Data provides an API that simplifies data access.
A static metamodel for entities that are used in Jakarta Data repositories.
Splits query results into pages.
-
Uses of Sort in jakarta.data
Methods in jakarta.data that return SortModifier and TypeMethodDescriptionstatic <T> Sort
<T> Create aSort
instance withascending direction
that does not request case insensitive ordering.static <T> Sort
<T> Sort.ascIgnoreCase
(String property) Create aSort
instance withascending direction
and case insensitive ordering.static <T> Sort
<T> Create aSort
instance withdescending direction
that does not request case insensitive ordering.static <T> Sort
<T> Sort.descIgnoreCase
(String property) Create aSort
instance withdescending direction
and case insensitive ordering.static <T> Sort
<T> Create aSort
instanceMethods in jakarta.data that return types with arguments of type SortModifier and TypeMethodDescriptionOrder.iterator()
Returns an iterator that follows the order of precedence for theSort
criteria, from highest precedence to lowest.Order.sorts()
The instances ofSort
belonging to thisOrder
.Methods in jakarta.data with parameters of type Sort -
Uses of Sort in jakarta.data.metamodel
Methods in jakarta.data.metamodel that return SortModifier and TypeMethodDescriptionSortableAttribute.asc()
Obtain a request for an ascendingSort
based on the entity attribute.TextAttribute.ascIgnoreCase()
Obtain a request for an ascending, case insensitiveSort
based on the entity attribute.SortableAttribute.desc()
Obtain a request for a descendingSort
based on the entity attribute.TextAttribute.descIgnoreCase()
Obtain a request for a descending, case insensitiveSort
based on the entity attribute. -
Uses of Sort in jakarta.data.metamodel.impl
Methods in jakarta.data.metamodel.impl that return Sort -
Uses of Sort in jakarta.data.page
Methods in jakarta.data.page that return types with arguments of type SortModifier and TypeMethodDescriptionPageRequest.sorts()
Return the order collection if it was specified on this page request, otherwise an empty list.Methods in jakarta.data.page with parameters of type SortModifier and TypeMethodDescriptionCreates a new page request with the same pagination information, but using the specified sort criteria.Creates a new page request with the same pagination information, but using the specified sort criteria.Creates a new page request with the same pagination information, but using the specified sort criteria.PageRequest.sortBy
(Sort<? super T> sort1, Sort<? super T> sort2, Sort<? super T> sort3, Sort<? super T> sort4) Creates a new page request with the same pagination information, but using the specified sort criteria.PageRequest.sortBy
(Sort<? super T> sort1, Sort<? super T> sort2, Sort<? super T> sort3, Sort<? super T> sort4, Sort<? super T> sort5) Creates a new page request with the same pagination information, but using the specified sort criteria.Method parameters in jakarta.data.page with type arguments of type Sort