JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
ConstExecutor.h
Go to the documentation of this file.
1 //
2 // Created by Nico Schäfer on 12/13/17.
3 //
4 
5 #ifndef JODA_CONSTEXECUTOR_H
6 #define JODA_CONSTEXECUTOR_H
7 
8 #include "IQueryExecutor.h"
9 class ConstExecutor : public IQueryExecutor {
10  public:
11  unsigned long estimatedWork(const joda::query::Query &q,
12  JSONContainer &cont) override;
13  std::shared_ptr<const DocIndex> execute(const joda::query::Query &q,
14  JSONContainer &cont) override;
15  std::string getName() const override;
17  std::shared_ptr<const DocIndex> &sel,
18  JSONContainer &cont) override;
19  std::unique_ptr<IQueryExecutor> duplicate() override;
20 };
21 
22 #endif // JODA_CONSTEXECUTOR_H
Definition: ConstExecutor.h:9
std::unique_ptr< IQueryExecutor > duplicate() override
Definition: ConstExecutor.cpp:28
void alwaysAfterSelect(const joda::query::Query &q, std::shared_ptr< const DocIndex > &sel, JSONContainer &cont) override
Definition: ConstExecutor.cpp:25
std::string getName() const override
Definition: ConstExecutor.cpp:24
std::shared_ptr< const DocIndex > execute(const joda::query::Query &q, JSONContainer &cont) override
Definition: ConstExecutor.cpp:14
unsigned long estimatedWork(const joda::query::Query &q, JSONContainer &cont) override
Definition: ConstExecutor.cpp:8
Definition: IQueryExecutor.h:15
Definition: JSONContainer.h:37
Definition: Query.h:24