Package org.apache.druid.query.search
Class SearchSortSpec
- java.lang.Object
-
- org.apache.druid.query.search.SearchSortSpec
-
-
Field Summary
Fields Modifier and Type Field Description static StringComparatorDEFAULT_ORDERING
-
Constructor Summary
Constructors Constructor Description SearchSortSpec(StringComparator ordering)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getCacheKey()Get a byte array used as a cache key.Comparator<SearchHit>getComparator()StringComparatorgetOrdering()inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT_ORDERING
public static final StringComparator DEFAULT_ORDERING
-
-
Constructor Detail
-
SearchSortSpec
public SearchSortSpec(StringComparator ordering)
-
-
Method Detail
-
getOrdering
public StringComparator getOrdering()
-
getComparator
public Comparator<SearchHit> getComparator()
-
getCacheKey
public byte[] getCacheKey()
Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- a cache key
-
-