Package org.apache.lucene.util
Class IntArrayDocIdSet
- java.lang.Object
-
- org.apache.lucene.search.DocIdSet
-
- org.apache.lucene.util.IntArrayDocIdSet
-
- All Implemented Interfaces:
Accountable
final class IntArrayDocIdSet extends DocIdSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classIntArrayDocIdSet.IntArrayDocIdSetIterator
-
Field Summary
Fields Modifier and Type Field Description private static longBASE_RAM_BYTES_USEDprivate int[]docsprivate intlength-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description IntArrayDocIdSet(int[] docs, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocIdSetIteratoriterator()Provides aDocIdSetIteratorto access the set.longramBytesUsed()Return the memory usage of this object in bytes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
-
-
-
Method Detail
-
ramBytesUsed
public long ramBytesUsed()
Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.
-
iterator
public DocIdSetIterator iterator() throws java.io.IOException
Description copied from class:DocIdSetProvides aDocIdSetIteratorto access the set. This implementation can returnnullif there are no docs that match.
-
-