Interface SortAccessor<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
SpelSortAccessor
public interface SortAccessor<T>
Resolves the
Sort
object from given KeyValueQuery
and potentially converts it into a store specific
representation that can be used by the QueryEngine
implementation.- Author:
- Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(KeyValueQuery<?> query) ReadsKeyValueQuery.getSort()
of givenKeyValueQuery
and applies required transformation to match the desired type.
-
Method Details
-
resolve
ReadsKeyValueQuery.getSort()
of givenKeyValueQuery
and applies required transformation to match the desired type.- Parameters:
query
- must not be null.- Returns:
- null in case
Sort
has not been defined onKeyValueQuery
.
-