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 SortModifier and TypeMethodDescriptionstatic Sort
Create aSort
instance with ascending directionDirection.ASC
that does not request case insensitive ordering.static Sort
Sort.ascIgnoreCase
(String property) Create aSort
instance with ascending directionDirection.ASC
and case insensitive ordering.static Sort
Create aSort
instance with descending directionDirection.DESC
that does not request case insensitive ordering.static Sort
Sort.descIgnoreCase
(String property) Create aSort
instance with descending directionDirection.DESC
and case insensitive ordering.static Sort
Create aSort
instance -
Uses of Sort in jakarta.data.model
Methods in jakarta.data.model that return SortModifier and TypeMethodDescriptionfinal Sort
Attribute.asc()
Obtain a request for an ascendingSort
based on the entity attribute.AttributeInfo.asc()
Returns a request for an ascendingSort
based on the entity attribute.final Sort
Attribute.ascIgnoreCase()
Obtain a request for an ascending, case insensitiveSort
based on the entity attribute.AttributeInfo.ascIgnoreCase()
Returns a request for an ascending, case insensitiveSort
based on the entity attribute.final Sort
Attribute.desc()
Obtain a request for a descendingSort
based on the entity attribute.AttributeInfo.desc()
Returns a request for a descendingSort
based on the entity attribute.final Sort
Attribute.descIgnoreCase()
Obtain a request for a descending, case insensitiveSort
based on the entity attribute.AttributeInfo.descIgnoreCase()
Returns a request for a descending, case insensitiveSort
based on the entity attribute. -
Uses of Sort in jakarta.data.page
Methods in jakarta.data.page that return types with arguments of type SortModifier and TypeMethodDescriptionPageable.sorts()
Return the order collection if it was specified on thisPageable
, otherwise an empty list.Methods in jakarta.data.page with parameters of type SortModifier and TypeMethodDescriptionCreates a newPageable
instance representing the same pagination information, except using the specified sort criteria.Method parameters in jakarta.data.page with type arguments of type Sort