Class CachingWrapperFilter
Wraps another Filter's result and caches it. The purpose is to allow
filters to simply filter, and then wrap with this class
to add caching.
Inheritance
System.Object
CachingWrapperFilter
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.dll
Syntax
public class CachingWrapperFilter : Filter
Constructors
|
Improve this Doc
View Source
CachingWrapperFilter(Filter)
Wraps another filter's result and caches it.
Declaration
public CachingWrapperFilter(Filter filter)
Parameters
Type |
Name |
Description |
Filter |
filter |
Filter to cache results of
|
Fields
|
Improve this Doc
View Source
EMPTY_DOCIDSET
Declaration
protected static readonly DocIdSet EMPTY_DOCIDSET
Field Value
Properties
|
Improve this Doc
View Source
Filter
Gets the contained filter.
Declaration
public virtual Filter Filter { get; }
Property Value
Type |
Description |
Filter |
the contained filter.
|
Methods
|
Improve this Doc
View Source
CacheImpl(DocIdSetIterator, AtomicReader)
Declaration
protected virtual DocIdSet CacheImpl(DocIdSetIterator iterator, AtomicReader reader)
Parameters
Returns
|
Improve this Doc
View Source
DocIdSetToCache(DocIdSet, AtomicReader)
Declaration
protected virtual DocIdSet DocIdSetToCache(DocIdSet docIdSet, AtomicReader reader)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetSizeInBytes()
Returns total byte size used by cached filters.
Declaration
public virtual long GetSizeInBytes()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods