JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
StorageExport.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 20/03/2019.
3 //
4 
5 #ifndef JODA_STORAGEEXPORT_H
6 #define JODA_STORAGEEXPORT_H
7 
9 #include "IExportDestination.h"
10 
12  public:
13  StorageExport(std::shared_ptr<JSONStorage> store);
14  unsigned long getTemporaryResultID() const;
15  const std::string toString() override;
16  const std::string toQueryString() override;
17  std::string getStorageName() const;
18  const std::shared_ptr<JSONStorage> &getStore() const;
19 
20  protected:
21  void consumeContainer(JsonContainerQueue::queue_t &queue) override;
22  void exportContainer(std::unique_ptr<JSONContainer> &&cont) override;
23  const std::string getTimerName() override;
24 
25  private:
26  std::shared_ptr<JSONStorage> store;
27 };
28 
29 #endif // JODA_STORAGEEXPORT_H
Definition: IExportDestination.h:14
Definition: StorageExport.h:11
const std::string getTimerName() override
Definition: StorageExport.cpp:14
const std::shared_ptr< JSONStorage > & getStore() const
Definition: StorageExport.cpp:37
const std::string toString() override
Definition: StorageExport.cpp:27
void exportContainer(std::unique_ptr< JSONContainer > &&cont) override
Definition: StorageExport.cpp:19
StorageExport(std::shared_ptr< JSONStorage > store)
Definition: StorageExport.cpp:16
std::string getStorageName() const
Definition: StorageExport.cpp:35
const std::string toQueryString() override
Definition: StorageExport.cpp:31
unsigned long getTemporaryResultID() const
Definition: StorageExport.cpp:23
void consumeContainer(JsonContainerQueue::queue_t &queue) override
Definition: StorageExport.cpp:10
Definition: Queue.h:19