Uses of Enum Class
org.springframework.data.domain.Sort.Direction
Packages that use Sort.Direction
Package
Description
Central domain abstractions especially to be used in combination with the
Repository abstraction.Basic interfaces and value objects for histography API.
-
Uses of Sort.Direction in org.springframework.data.domain
Fields in org.springframework.data.domain declared as Sort.DirectionMethods in org.springframework.data.domain that return Sort.DirectionModifier and TypeMethodDescriptionstatic Sort.DirectionSort.Direction.fromString(String value) Returns theSort.Directionenum for the givenStringvalue.Sort.Order.getDirection()Returns the order the property shall be sorted for.static Sort.DirectionReturns the enum constant of this class with the specified name.static Sort.Direction[]Sort.Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.data.domain that return types with arguments of type Sort.DirectionModifier and TypeMethodDescriptionstatic Optional<Sort.Direction>Sort.Direction.fromOptionalString(String value) Returns theSort.Directionenum for the givenStringorOptional.empty()if it cannot be parsed into an enum value.Methods in org.springframework.data.domain with parameters of type Sort.DirectionModifier and TypeMethodDescriptionstatic SortSort.by(Sort.Direction direction, String... properties) Creates a newSortfor the givenSort.Directionand properties.static PageRequestPageRequest.of(int pageNumber, int pageSize, Sort.Direction direction, String... properties) Creates a newPageRequestwith sort direction and properties applied.Sort.Order.with(Sort.Direction direction) Returns a newSort.Orderwith the givenSort.Directionapplied.PageRequest.withSort(Sort.Direction direction, String... properties) Constructors in org.springframework.data.domain with parameters of type Sort.DirectionModifierConstructorDescriptionOrder(Sort.Direction direction, String property) Creates a newSort.Orderinstance. if order is null then order defaults toSort.DEFAULT_DIRECTIONOrder(Sort.Direction direction, String property, boolean ignoreCase, Sort.NullHandling nullHandling) Creates a newSort.Orderinstance. if order is null then order defaults toSort.DEFAULT_DIRECTIONOrder(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint) Creates a newSort.Orderinstance. if order is null then order defaults toSort.DEFAULT_DIRECTION -
Uses of Sort.Direction in org.springframework.data.history
Methods in org.springframework.data.history that return Sort.DirectionModifier and TypeMethodDescriptionstatic Sort.DirectionRevisionSort.getRevisionDirection(Sort sort) Returns in which direction to sort revisions for the givenSortinstance.