Class SearchSortSpec

java.lang.Object
org.apache.druid.query.search.SearchSortSpec
All Implemented Interfaces:
Cacheable

public class SearchSortSpec extends Object implements Cacheable
  • Field Details

  • Constructor Details

  • Method Details

    • 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 interface Cacheable
      Returns:
      bytes to be used as cache key - or null if this object should not be cached.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object