Class BucketPriorityQueue<B>

org.apache.lucene.util.PriorityQueue<B>
org.elasticsearch.search.aggregations.bucket.terms.BucketPriorityQueue<B>
All Implemented Interfaces:
<B>

public class BucketPriorityQueue<B> extends org.apache.lucene.util.PriorityQueue<B>
  • Constructor Summary

    Constructors
    Constructor
    Description
    BucketPriorityQueue​(int size, <? super B> comparator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    lessThan​(B a, B b)
     

    Methods inherited from class org.apache.lucene.util.PriorityQueue

    add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop

    Methods inherited from class java.lang.

    , , , , , , , , , ,

    Methods inherited from interface java.lang.

    ,
  • Constructor Details

    • BucketPriorityQueue

      public BucketPriorityQueue(int size, <? super B> comparator)
  • Method Details

    • lessThan

      protected boolean lessThan(B a, B b)
      Specified by:
      lessThan in class org.apache.lucene.util.PriorityQueue<B>