Package org.apache.solr.handler.admin
Class IndexSizeEstimator.ItemPriorityQueue
- java.lang.Object
-
- org.apache.lucene.util.PriorityQueue<IndexSizeEstimator.Item>
-
- org.apache.solr.handler.admin.IndexSizeEstimator.ItemPriorityQueue
-
- All Implemented Interfaces:
Iterable<IndexSizeEstimator.Item>,org.apache.solr.common.MapSerializable,org.apache.solr.common.MapWriter,org.apache.solr.common.NavigableObject,org.noggit.JSONWriter.Writable
- Enclosing class:
- IndexSizeEstimator
public static class IndexSizeEstimator.ItemPriorityQueue extends org.apache.lucene.util.PriorityQueue<IndexSizeEstimator.Item> implements org.apache.solr.common.MapWriter
-
-
Constructor Summary
Constructors Constructor Description ItemPriorityQueue(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanlessThan(IndexSizeEstimator.Item a, IndexSizeEstimator.Item b)StringtoString()voidwriteMap(org.apache.solr.common.MapWriter.EntryWriter ew)-
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
lessThan
protected boolean lessThan(IndexSizeEstimator.Item a, IndexSizeEstimator.Item b)
- Specified by:
lessThanin classorg.apache.lucene.util.PriorityQueue<IndexSizeEstimator.Item>
-
writeMap
public void writeMap(org.apache.solr.common.MapWriter.EntryWriter ew) throws IOException- Specified by:
writeMapin interfaceorg.apache.solr.common.MapWriter- Throws:
IOException
-
-