JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
INListProvider.h
Go to the documentation of this file.
1 //
2 // Created by Nico Schäfer on 11/27/17.
3 //
4 
5 #ifndef JODA_INLISTPROVIDER_H
6 #define JODA_INLISTPROVIDER_H
7 
8 #include <rapidjson/fwd.h>
9 
10 #include <unordered_set>
11 
12 #include "IValueProvider.h"
13 
14 namespace joda::query {
19  public:
20  std::unique_ptr<IValueProvider> duplicate() const override;
21 
22  bool isConst() const override;
23 
25  RJMemoryPoolAlloc &alloc) const override;
26  const RJValue *getValue(const RapidJsonDocument &json,
27  RJMemoryPoolAlloc &alloc) const override;
28 
29  explicit INListProvider(
30  std::vector<std::unique_ptr<IValueProvider>> &&parameters);
31  std::string getName() const override;
32  IValueType getReturnType() const override;
33 
35 
36  protected:
37 };
38 } // namespace joda::query
39 
40 #endif // JODA_INLISTPROVIDER_H
#define CREATE_FACTORY(FCLASS)
Definition: IValueProvider.h:20
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: INListProvider.h:18
const RJValue * getValue(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override
Definition: INListProvider.cpp:60
bool isConst() const override
Definition: INListProvider.cpp:12
std::unique_ptr< IValueProvider > duplicate() const override
Definition: INListProvider.cpp:8
IValueType getReturnType() const override
Definition: INListProvider.cpp:75
RJValue getAtomValue(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override
Definition: INListProvider.cpp:16
INListProvider(std::vector< std::unique_ptr< IValueProvider >> &&parameters)
Definition: INListProvider.cpp:66
std::string getName() const override
Definition: INListProvider.cpp:73
Definition: IValueProvider.h:143
Definition: AttributeStatAggregator.h:12
IValueType
Definition: IValueProvider.h:33