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