Lucene++ - a full-featured, c++ search engine
API Documentation

DocFieldConsumersPerThread.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6
7 #ifndef DOCFIELDCONSUMERSPERTHREAD_H
8 #define DOCFIELDCONSUMERSPERTHREAD_H
9
10 #include "DocFieldConsumerPerThread.h"
11
12 namespace Lucene {
13
14 class DocFieldConsumersPerThread : public DocFieldConsumerPerThread {
15 public:
16 DocFieldConsumersPerThread(const DocFieldProcessorPerThreadPtr& docFieldProcessorPerThread, const DocFieldConsumersPtr& parent,
17 const DocFieldConsumerPerThreadPtr& one, const DocFieldConsumerPerThreadPtr& two);
18 virtual ~DocFieldConsumersPerThread();
19
20 LUCENE_CLASS(DocFieldConsumersPerThread);
21
22 public:
23 DocFieldConsumerPerThreadPtr one;
24 DocFieldConsumerPerThreadPtr two;
25 DocFieldConsumersWeakPtr _parent;
26 DocStatePtr docState;
27
28 public:
29 virtual void startDocument();
30 virtual void abort();
31 virtual DocWriterPtr finishDocument();
32 virtual DocFieldConsumerPerFieldPtr addField(const FieldInfoPtr& fi);
33 };
34
35 }
36
37 #endif
Lucene::DocFieldProcessorPerThreadPtr
boost::shared_ptr< DocFieldProcessorPerThread > DocFieldProcessorPerThreadPtr
Definition: LuceneTypes.h:117
Lucene::DocFieldConsumersPerThread::_parent
DocFieldConsumersWeakPtr _parent
Definition: DocFieldConsumersPerThread.h:25
Lucene::DocFieldConsumersPerThread::addField
virtual DocFieldConsumerPerFieldPtr addField(const FieldInfoPtr &fi)
Lucene::DocFieldConsumersPerThread::~DocFieldConsumersPerThread
virtual ~DocFieldConsumersPerThread()
Lucene::DocFieldConsumersPerThread
Definition: DocFieldConsumersPerThread.h:14
Lucene::DocFieldConsumerPerThreadPtr
boost::shared_ptr< DocFieldConsumerPerThread > DocFieldConsumerPerThreadPtr
Definition: LuceneTypes.h:110
Lucene::DocFieldConsumersPerThread::two
DocFieldConsumerPerThreadPtr two
Definition: DocFieldConsumersPerThread.h:24
Lucene::DocFieldConsumersPtr
boost::shared_ptr< DocFieldConsumers > DocFieldConsumersPtr
Definition: LuceneTypes.h:111
Lucene::DocFieldConsumersPerThread::abort
virtual void abort()
Lucene::DocFieldConsumersWeakPtr
boost::weak_ptr< DocFieldConsumers > DocFieldConsumersWeakPtr
Definition: LuceneTypes.h:111
Lucene::DocFieldConsumerPerFieldPtr
boost::shared_ptr< DocFieldConsumerPerField > DocFieldConsumerPerFieldPtr
Definition: LuceneTypes.h:109
Lucene::DocFieldConsumerPerThread
Definition: DocFieldConsumerPerThread.h:14
Lucene::DocFieldConsumersPerThread::finishDocument
virtual DocWriterPtr finishDocument()
Lucene::FieldInfoPtr
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
Lucene::DocFieldConsumersPerThread::DocFieldConsumersPerThread
DocFieldConsumersPerThread(const DocFieldProcessorPerThreadPtr &docFieldProcessorPerThread, const DocFieldConsumersPtr &parent, const DocFieldConsumerPerThreadPtr &one, const DocFieldConsumerPerThreadPtr &two)
DocFieldConsumerPerThread.h
Lucene::DocFieldConsumersPerThread::startDocument
virtual void startDocument()
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::DocFieldConsumersPerThread::docState
DocStatePtr docState
Definition: DocFieldConsumersPerThread.h:26
Lucene::DocFieldConsumersPerThread::one
DocFieldConsumerPerThreadPtr one
Definition: DocFieldConsumersPerThread.h:20
Lucene::DocStatePtr
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
Lucene::DocWriterPtr
boost::shared_ptr< DocWriter > DocWriterPtr
Definition: LuceneTypes.h:125

clucene.sourceforge.net