public class DocIdBitSet extends DocIdSet
EMPTY_DOCIDSET
Constructor | Description |
---|---|
DocIdBitSet(BitSet bitSet) |
Modifier and Type | Method | 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()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.