Class QueryResultKey

  • All Implemented Interfaces:
    org.apache.lucene.util.Accountable

    public final class QueryResultKey
    extends Object
    implements org.apache.lucene.util.Accountable
    A hash key encapsulating a query, a list of filters, and a sort
    • Field Summary

      • Fields inherited from interface org.apache.lucene.util.Accountable

        NULL_ACCOUNTABLE
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryResultKey​(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags)  
      QueryResultKey​(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags, int minExactCount)  
    • Constructor Detail

      • QueryResultKey

        public QueryResultKey​(org.apache.lucene.search.Query query,
                              List<org.apache.lucene.search.Query> filters,
                              org.apache.lucene.search.Sort sort,
                              int nc_flags)
      • QueryResultKey

        public QueryResultKey​(org.apache.lucene.search.Query query,
                              List<org.apache.lucene.search.Query> filters,
                              org.apache.lucene.search.Sort sort,
                              int nc_flags,
                              int minExactCount)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • ramBytesUsed

        public long ramBytesUsed()
        Specified by:
        ramBytesUsed in interface org.apache.lucene.util.Accountable