JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
DeletePointerProjector.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 03/06/2019.
3 //
4 
5 #ifndef JODA_DELETEPOINTERPROJECTOR_H
6 #define JODA_DELETEPOINTERPROJECTOR_H
7 
8 #include "IProjector.h"
9 namespace joda::query {
11  public:
12  DeletePointerProjector(const std::string &to);
13  ~DeletePointerProjector() override = default;
14  std::string getType() override;
15  void project(const RapidJsonDocument &json, RJDocument &newDoc,
16  bool view = false) override;
17  std::string toString() override;
18  std::vector<std::string> getMaterializeAttributes() const override;
19 
20  protected:
21  RJValue getVal(const RapidJsonDocument &json,
22  RJMemoryPoolAlloc &alloc) override;
23 };
24 } // namespace joda::query
25 #endif // JODA_DELETEPOINTERPROJECTOR_H
rapidjson::GenericDocument< RJChar, RJMemoryPoolAlloc, RJBaseAlloc > RJDocument
Definition: RJFwd.h:28
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: DeletePointerProjector.h:10
void project(const RapidJsonDocument &json, RJDocument &newDoc, bool view=false) override
Definition: DeletePointerProjector.cpp:24
std::vector< std::string > getMaterializeAttributes() const override
Definition: DeletePointerProjector.cpp:44
RJValue getVal(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) override
Definition: DeletePointerProjector.cpp:19
DeletePointerProjector(const std::string &to)
Definition: DeletePointerProjector.cpp:7
~DeletePointerProjector() override=default
std::string toString() override
Definition: DeletePointerProjector.cpp:15
std::string getType() override
Definition: DeletePointerProjector.cpp:11
Definition: IProjector.h:15
Definition: AttributeStatAggregator.h:12