public class BitDocIdSetCachingWrapperFilter extends BitDocIdSetFilter implements Accountable
BitDocIdSet
s 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() |
getDocIdSet
public BitDocIdSetCachingWrapperFilter(Filter filter)
public BitDocIdSet getDocIdSet(LeafReaderContext context) throws IOException
BitDocIdSetFilter
BitDocIdSetFilter.getDocIdSet(LeafReaderContext, Bits)
but does not take
acceptDocs into account and guarantees to return a BitDocIdSet
.getDocIdSet
in class BitDocIdSetFilter
IOException
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
public Collection<Accountable> getChildResources()
getChildResources
in interface Accountable
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.