JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
JSONURLSource.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 09/05/2019.
3 //
4 
5 #ifndef JODA_JSONURLSOURCE_H
6 #define JODA_JSONURLSOURCE_H
7 
8 #include "IImportSource.h"
9 
10 namespace joda::docparsing {
15  public:
16  explicit JSONURLSource(std::string urlPath);
17  virtual void feedSources(JsonURLReaderQueue::queue_t &queue,
19  size_t estimatedSize() override;
20  const std::string toString() override;
21  const std::string toQueryString() override;
22 
23  private:
24  std::string urlPath;
25 };
26 } // namespace joda::docparsing
27 
28 #endif // JODA_JSONURLSOURCE_H
Definition: IImportSource.h:16
Definition: JSONURLSource.h:14
virtual void feedSources(JsonURLReaderQueue::queue_t &queue, JsonURLReaderQueue::queue_t::ptok_t &ptok) override
Definition: JSONURLSource.cpp:15
const std::string toQueryString() override
Definition: JSONURLSource.cpp:30
const std::string toString() override
Definition: JSONURLSource.cpp:26
size_t estimatedSize() override
Definition: JSONURLSource.cpp:22
JSONURLSource(std::string urlPath)
Definition: JSONURLSource.cpp:9
Definition: IImportSource.h:12
Definition: Queue.h:19
queue_t::producer_token_t ptok_t
Definition: Queue.h:21