public class CachingWrapperFilter extends Filter
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
cache
A transient Filter cache.
|
protected Filter |
filter |
Constructor and Description |
---|
CachingWrapperFilter(Filter filter) |
Modifier and Type | Method and Description |
---|---|
java.util.BitSet |
bits(IndexReader reader)
Deprecated.
Use
getDocIdSet(IndexReader) instead. |
boolean |
equals(java.lang.Object o) |
DocIdSet |
getDocIdSet(IndexReader reader) |
int |
hashCode() |
java.lang.String |
toString() |
protected Filter filter
protected transient java.util.Map cache
RemoteSearchable
use
RemoteCachingWrapperFilter
instead.public CachingWrapperFilter(Filter filter)
filter
- Filter to cache results ofpublic java.util.BitSet bits(IndexReader reader) throws java.io.IOException
getDocIdSet(IndexReader)
instead.public DocIdSet getDocIdSet(IndexReader reader) throws java.io.IOException
getDocIdSet
in class Filter
java.io.IOException
DocIdBitSet
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.