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 StringComparator
DEFAULT_ORDERING
-
Constructor Summary
Constructors Constructor Description SearchSortSpec(StringComparator ordering)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
getCacheKey()
Get a byte array used as a cache key.Comparator<SearchHit>
getComparator()
StringComparator
getOrdering()
int
hashCode()
String
toString()
-
-
-
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:Cacheable
Get a byte array used as a cache key.- Specified by:
getCacheKey
in interfaceCacheable
- Returns:
- a cache key
-
-