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 // Copyright (c) 2009-2011 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  {
26  public:
28  ByteFieldSource(const String& field, ByteParserPtr parser = ByteParserPtr());
29  virtual ~ByteFieldSource();
30 
32 
33  protected:
34  ByteParserPtr parser;
35 
36  public:
37  virtual String description();
38  virtual DocValuesPtr getCachedFieldValues(FieldCachePtr cache, const String& field, IndexReaderPtr reader);
39  virtual bool cachedFieldSourceEquals(FieldCacheSourcePtr other);
40  virtual int32_t cachedFieldSourceHashCode();
41  };
42 }
43 
44 #endif

clucene.sourceforge.net