final class IntArrayDocIdSet extends DocIdSet
Modifier and Type | Class and Description |
---|---|
(package private) static class |
IntArrayDocIdSet.IntArrayDocIdSetIterator |
Modifier and Type | Field and Description |
---|---|
private static long |
BASE_RAM_BYTES_USED |
private int[] |
docs |
private int |
length |
Constructor and Description |
---|
IntArrayDocIdSet(int[] docs,
int length) |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
iterator()
Provides a
DocIdSetIterator to access the set. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
private static final long BASE_RAM_BYTES_USED
private final int[] docs
private final int length
public long ramBytesUsed()
Accountable
public DocIdSetIterator iterator() throws java.io.IOException
DocIdSet
DocIdSetIterator
to access the set.
This implementation can return null
if there
are no docs that match.