Lucene++ - a full-featured, c++ search engine
API Documentation
This is just a "splitter" class: it lets you wrap two DocFieldConsumer instances as a single consumer. More...
#include <DocFieldConsumers.h>
Inheritance diagram for Lucene::DocFieldConsumers:Public Member Functions | |
| DocFieldConsumers (DocFieldConsumerPtr one, DocFieldConsumerPtr two) | |
| virtual | ~DocFieldConsumers () |
| virtual String | getClassName () |
| boost::shared_ptr < DocFieldConsumers > | shared_from_this () |
| virtual void | setFieldInfos (FieldInfosPtr fieldInfos) |
| virtual void | flush (MapDocFieldConsumerPerThreadCollectionDocFieldConsumerPerField threadsAndFields, SegmentWriteStatePtr state) |
| Called when DocumentsWriter decides to create a new segment. More... | |
| virtual void | closeDocStore (SegmentWriteStatePtr state) |
| Called when DocumentsWriter decides to close the doc stores. More... | |
| virtual bool | freeRAM () |
| Called when DocumentsWriter is using too much RAM. More... | |
| virtual DocFieldConsumerPerThreadPtr | addThread (DocFieldProcessorPerThreadPtr docFieldProcessorPerThread) |
| Add a new thread. More... | |
| DocFieldConsumersPerDocPtr | getPerDoc () |
| void | freePerDoc (DocFieldConsumersPerDocPtr perDoc) |
Public Member Functions inherited from Lucene::DocFieldConsumer | |
| virtual | ~DocFieldConsumer () |
| boost::shared_ptr < DocFieldConsumer > | shared_from_this () |
| virtual void | abort ()=0 |
| Called when an aborting exception is hit. More... | |
Public Member Functions inherited from Lucene::LuceneObject | |
| virtual | ~LuceneObject () |
| virtual void | initialize () |
| Called directly after instantiation to create objects that depend on this object being fully constructed. More... | |
| virtual LuceneObjectPtr | clone (LuceneObjectPtr other=LuceneObjectPtr()) |
| Return clone of this object. More... | |
| virtual int32_t | hashCode () |
| Return hash code for this object. More... | |
| virtual bool | equals (LuceneObjectPtr other) |
| Return whether two objects are equal. More... | |
| virtual int32_t | compareTo (LuceneObjectPtr other) |
| Compare two objects. More... | |
| virtual String | toString () |
| Returns a string representation of the object. More... | |
Public Member Functions inherited from Lucene::LuceneSync | |
| virtual | ~LuceneSync () |
| virtual SynchronizePtr | getSync () |
| Return this object synchronize lock. More... | |
| virtual LuceneSignalPtr | getSignal () |
| Return this object signal. More... | |
| virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout. More... | |
| virtual void | unlock () |
| Unlock this object. More... | |
| virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread. More... | |
| virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout. More... | |
| virtual void | notifyAll () |
| Notify all threads waiting for signal. More... | |
Static Public Member Functions | |
| static String | _getClassName () |
Static Public Member Functions inherited from Lucene::DocFieldConsumer | |
| static String | _getClassName () |
Data Fields | |
| DocFieldConsumerPtr | one |
| DocFieldConsumerPtr | two |
| Collection < DocFieldConsumersPerDocPtr > | docFreeList |
| int32_t | freeCount |
| int32_t | allocCount |
Additional Inherited Members | |
Protected Member Functions inherited from Lucene::LuceneObject | |
| LuceneObject () | |
Protected Attributes inherited from Lucene::DocFieldConsumer | |
| FieldInfosPtr | fieldInfos |
This is just a "splitter" class: it lets you wrap two DocFieldConsumer instances as a single consumer.
| Lucene::DocFieldConsumers::DocFieldConsumers | ( | DocFieldConsumerPtr | one, |
| DocFieldConsumerPtr | two | ||
| ) |
|
virtual |
|
inlinestatic |
|
virtual |
Add a new thread.
Implements Lucene::DocFieldConsumer.
|
virtual |
Called when DocumentsWriter decides to close the doc stores.
Implements Lucene::DocFieldConsumer.
|
virtual |
Called when DocumentsWriter decides to create a new segment.
Implements Lucene::DocFieldConsumer.
| void Lucene::DocFieldConsumers::freePerDoc | ( | DocFieldConsumersPerDocPtr | perDoc) |
|
virtual |
Called when DocumentsWriter is using too much RAM.
Implements Lucene::DocFieldConsumer.
|
inlinevirtual |
Reimplemented from Lucene::DocFieldConsumer.
| DocFieldConsumersPerDocPtr Lucene::DocFieldConsumers::getPerDoc | ( | ) |
|
virtual |
Reimplemented from Lucene::DocFieldConsumer.
|
inline |
| int32_t Lucene::DocFieldConsumers::allocCount |
| Collection<DocFieldConsumersPerDocPtr> Lucene::DocFieldConsumers::docFreeList |
| int32_t Lucene::DocFieldConsumers::freeCount |
| DocFieldConsumerPtr Lucene::DocFieldConsumers::one |
| DocFieldConsumerPtr Lucene::DocFieldConsumers::two |