Lucene++ - a full-featured, c++ search engine
API Documentation
#include <TermsHashPerThread.h>
Public Member Functions | |
TermsHashPerThread (const DocInverterPerThreadPtr &docInverterPerThread, const TermsHashPtr &termsHash, const TermsHashPtr &nextTermsHash, const TermsHashPerThreadPtr &primaryPerThread) | |
virtual | ~TermsHashPerThread () |
virtual String | getClassName () |
boost::shared_ptr< TermsHashPerThread > | shared_from_this () |
virtual void | initialize () |
Called directly after instantiation to create objects that depend on this object being fully constructed. | |
virtual InvertedDocConsumerPerFieldPtr | addField (const DocInverterPerFieldPtr &docInverterPerField, const FieldInfoPtr &fieldInfo) |
virtual void | abort () |
void | morePostings () |
perField calls this when it needs more postings | |
virtual void | startDocument () |
virtual DocWriterPtr | finishDocument () |
void | reset (bool recyclePostings) |
Clear all state. | |
![]() | |
virtual | ~InvertedDocConsumerPerThread () |
boost::shared_ptr< InvertedDocConsumerPerThread > | shared_from_this () |
![]() | |
virtual | ~LuceneObject () |
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
Return clone of this object. | |
virtual int32_t | hashCode () |
Return hash code for this object. | |
virtual bool | equals (const LuceneObjectPtr &other) |
Return whether two objects are equal. | |
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
Compare two objects. | |
virtual String | toString () |
Returns a string representation of the object. | |
![]() | |
virtual | ~LuceneSync () |
virtual SynchronizePtr | getSync () |
Return this object synchronize lock. | |
virtual LuceneSignalPtr | getSignal () |
Return this object signal. | |
virtual void | lock (int32_t timeout=0) |
Lock this object using an optional timeout. | |
virtual void | unlock () |
Unlock this object. | |
virtual bool | holdsLock () |
Returns true if this object is currently locked by current thread. | |
virtual void | wait (int32_t timeout=0) |
Wait for signal using an optional timeout. | |
virtual void | notifyAll () |
Notify all threads waiting for signal. | |
Static Public Member Functions | |
static String | _getClassName () |
![]() | |
static String | _getClassName () |
Static Protected Member Functions | |
static bool | noNullPostings (Collection< RawPostingListPtr > postings, int32_t count, const String &details) |
Additional Inherited Members | |
![]() | |
LuceneObject () | |
![]() | |
SynchronizePtr | objectLock |
LuceneSignalPtr | objectSignal |
Lucene::TermsHashPerThread::TermsHashPerThread | ( | const DocInverterPerThreadPtr & | docInverterPerThread, |
const TermsHashPtr & | termsHash, | ||
const TermsHashPtr & | nextTermsHash, | ||
const TermsHashPerThreadPtr & | primaryPerThread | ||
) |
|
virtual |
|
inlinestatic |
|
virtual |
Implements Lucene::InvertedDocConsumerPerThread.
|
virtual |
Implements Lucene::InvertedDocConsumerPerThread.
|
virtual |
Implements Lucene::InvertedDocConsumerPerThread.
|
inlinevirtual |
Reimplemented from Lucene::InvertedDocConsumerPerThread.
|
virtual |
Called directly after instantiation to create objects that depend on this object being fully constructed.
Reimplemented from Lucene::LuceneObject.
void Lucene::TermsHashPerThread::morePostings | ( | ) |
perField calls this when it needs more postings
|
staticprotected |
void Lucene::TermsHashPerThread::reset | ( | bool | recyclePostings | ) |
Clear all state.
|
inline |
|
virtual |
Implements Lucene::InvertedDocConsumerPerThread.
DocInverterPerThreadWeakPtr Lucene::TermsHashPerThread::_docInverterPerThread |
TermsHashPerThreadWeakPtr Lucene::TermsHashPerThread::_primaryPerThread |
TermsHashWeakPtr Lucene::TermsHashPerThread::_termsHash |
ByteBlockPoolPtr Lucene::TermsHashPerThread::bytePool |
CharBlockPoolPtr Lucene::TermsHashPerThread::charPool |
TermsHashConsumerPerThreadPtr Lucene::TermsHashPerThread::consumer |
DocStatePtr Lucene::TermsHashPerThread::docState |
Collection<RawPostingListPtr> Lucene::TermsHashPerThread::freePostings |
int32_t Lucene::TermsHashPerThread::freePostingsCount |
IntBlockPoolPtr Lucene::TermsHashPerThread::intPool |
TermsHashPerThreadPtr Lucene::TermsHashPerThread::nextPerThread |
TermsHashPtr Lucene::TermsHashPerThread::nextTermsHash |
bool Lucene::TermsHashPerThread::primary |