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