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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ValueSourceQuery.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 VALUESOURCEQUERY_H
8 #define VALUESOURCEQUERY_H
9 
10 #include "Query.h"
11 
12 namespace Lucene {
13 
22 class LPPAPI ValueSourceQuery : public Query {
23 public:
26  ValueSourceQuery(const ValueSourcePtr& valSrc);
27 
28  virtual ~ValueSourceQuery();
29 
31 
32 public:
34 
35 public:
36  using Query::toString;
37 
38  virtual QueryPtr rewrite(const IndexReaderPtr& reader);
39  virtual void extractTerms(SetTerm terms);
40  virtual WeightPtr createWeight(const SearcherPtr& searcher);
41  virtual String toString(const String& field);
42  virtual bool equals(const LuceneObjectPtr& other);
43  virtual int32_t hashCode();
44  virtual LuceneObjectPtr clone(const LuceneObjectPtr& other = LuceneObjectPtr());
45 };
46 
47 }
48 
49 #endif

clucene.sourceforge.net