public class BitDocIdSetCachingWrapperFilter extends BitDocIdSetFilter implements Accountable
BitDocIdSets if necessary and caches them.| Constructor and Description |
|---|
BitDocIdSetCachingWrapperFilter(Filter filter)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Collection<Accountable> |
getChildResources() |
BitDocIdSet |
getDocIdSet(LeafReaderContext context)
Same as
BitDocIdSetFilter.getDocIdSet(LeafReaderContext, Bits) but does not take
acceptDocs into account and guarantees to return a BitDocIdSet. |
int |
hashCode() |
long |
ramBytesUsed() |
String |
toString() |
getDocIdSetpublic BitDocIdSetCachingWrapperFilter(Filter filter)
public BitDocIdSet getDocIdSet(LeafReaderContext context) throws IOException
BitDocIdSetFilterBitDocIdSetFilter.getDocIdSet(LeafReaderContext, Bits) but does not take
acceptDocs into account and guarantees to return a BitDocIdSet.getDocIdSet in class BitDocIdSetFilterIOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface Accountablepublic Collection<Accountable> getChildResources()
getChildResources in interface AccountableCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.