CLucene - a full-featured, c++ search engine
API Documentation
#include <CachingWrapperFilter.h>
Public Member Functions | |
CachingWrapperFilter (Filter *filter, bool deleteFilter=true) | |
~CachingWrapperFilter () | |
Filter * | clone () const |
TCHAR * | toString () |
Protected Member Functions | |
CachingWrapperFilter (const CachingWrapperFilter ©) | |
lucene::util::BitSet * | doBits (lucene::index::IndexReader *reader) |
bool | doShouldDeleteBitSet (lucene::util::BitSet *bits) |
The purpose is to allow filters to simply filter, and then wrap with this class to add caching, keeping the two concerns decoupled yet composable.
lucene::search::CachingWrapperFilter::CachingWrapperFilter | ( | const CachingWrapperFilter & | copy | ) | [protected] |
lucene::search::CachingWrapperFilter::CachingWrapperFilter | ( | Filter * | filter, | |
bool | deleteFilter = true | |||
) |
lucene::search::CachingWrapperFilter::~CachingWrapperFilter | ( | ) |
lucene:: util ::BitSet* lucene::search::CachingWrapperFilter::doBits | ( | lucene::index::IndexReader * | reader | ) | [protected, virtual] |
Implements lucene::search::AbstractCachingFilter.
bool lucene::search::CachingWrapperFilter::doShouldDeleteBitSet | ( | lucene::util::BitSet * | bits | ) | [protected, virtual] |
Reimplemented from lucene::search::AbstractCachingFilter.
Filter* lucene::search::CachingWrapperFilter::clone | ( | ) | const [virtual] |
Implements lucene::search::AbstractCachingFilter.
TCHAR* lucene::search::CachingWrapperFilter::toString | ( | ) | [virtual] |
Implements lucene::search::AbstractCachingFilter.