Class PathSortAccessor
java.lang.Object
org.springframework.data.keyvalue.core.PathSortAccessor
- All Implemented Interfaces:
SortAccessor<Comparator<?>>
- Since:
- 3.1.10
- Author:
- Christoph Strobl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionComparator<?>
resolve
(KeyValueQuery<?> query) ReadsKeyValueQuery.getSort()
of givenKeyValueQuery
and applies required transformation to match the desired type.
-
Constructor Details
-
PathSortAccessor
public PathSortAccessor()
-
-
Method Details
-
resolve
Description copied from interface:SortAccessor
ReadsKeyValueQuery.getSort()
of givenKeyValueQuery
and applies required transformation to match the desired type.- Specified by:
resolve
in interfaceSortAccessor<Comparator<?>>
- Parameters:
query
- must not be null.- Returns:
- null in case
Sort
has not been defined onKeyValueQuery
.
-