Interface QuerySorter
-
- All Implemented Interfaces:
public interface QuerySorter<T extends Object>Interface for the sorter of the SDK. Its implementations must provide a comparator to be used for sorting collections of data in the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classQuerySorter.Companion
-
Method Summary
Modifier and Type Method Description abstract List<Map<String, Object>>toDto()abstract List<SortSpecification<T>>getSortSpecifications()Sort specifications that compose this QuerySorter abstract UnitsetSortSpecifications(List<SortSpecification<T>> sortSpecifications)Sort specifications that compose this QuerySorter abstract Comparator<in T>getComparator()Comparator class. -
-
Method Detail
-
getSortSpecifications
abstract List<SortSpecification<T>> getSortSpecifications()
Sort specifications that compose this QuerySorter
-
setSortSpecifications
abstract Unit setSortSpecifications(List<SortSpecification<T>> sortSpecifications)
Sort specifications that compose this QuerySorter
-
getComparator
abstract Comparator<in T> getComparator()
Comparator class.
-
-
-
-