Class BucketPriorityQueue<B>

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

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

    Constructors
    Constructor Description
    BucketPriorityQueue​(int size, java.util.Comparator<? 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.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • BucketPriorityQueue

      public BucketPriorityQueue​(int size, java.util.Comparator<? super B> comparator)
  • Method Details

    • lessThan

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