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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ByteFieldSource.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 BYTEFIELDSOURCE_H
8 #define BYTEFIELDSOURCE_H
9 
10 #include "FieldCacheSource.h"
11 
12 namespace Lucene {
13 
24 class LPPAPI ByteFieldSource : public FieldCacheSource {
25 public:
27  ByteFieldSource(const String& field, const ByteParserPtr& parser = ByteParserPtr());
28  virtual ~ByteFieldSource();
29 
31 
32 protected:
33  ByteParserPtr parser;
34 
35 public:
36  virtual String description();
37  virtual DocValuesPtr getCachedFieldValues(const FieldCachePtr& cache, const String& field, const IndexReaderPtr& reader);
38  virtual bool cachedFieldSourceEquals(const FieldCacheSourcePtr& other);
39  virtual int32_t cachedFieldSourceHashCode();
40 };
41 
42 }
43 
44 #endif

clucene.sourceforge.net