public class DocIdBitSet extends DocIdSet
EMPTY_DOCIDSET
Constructor and Description |
---|
DocIdBitSet(BitSet bitSet) |
Modifier and Type | Method and Description |
---|---|
BitSet |
getBitSet()
Returns the underlying BitSet.
|
boolean |
isCacheable()
This DocIdSet implementation is cacheable.
|
DocIdSetIterator |
iterator()
Provides a
DocIdSetIterator to access the set. |
public DocIdBitSet(BitSet bitSet)
public DocIdSetIterator iterator()
DocIdSet
DocIdSetIterator
to access the set.
This implementation can return null
or
DocIdSet.EMPTY_DOCIDSET.iterator()
if there
are no docs that match.public boolean isCacheable()
isCacheable
in class DocIdSet
public BitSet getBitSet()