Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
DocFieldConsumersPerThread.h
Go to the documentation of this file.
1
2
// 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
clucene.sourceforge.net