JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
BeautifulJSONFileReader.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 05/12/2018.
3 //
4 
5 #ifndef JODA_BEAUTIFULJSONFILEREADER_H
6 #define JODA_BEAUTIFULJSONFILEREADER_H
7 
9 #include <joda/config/config.h>
12 
13 namespace joda::docparsing {
19  : public IWorkerThread<JsonFileBeautifiedReaderQueue,
20  JsonTextStreamParserQueue, void *> {
21  public:
23  ~BeautifulJSONFileReader() override;
24 
25  static const size_t recommendedThreads() { return config::readingThreads; }
26 
27  protected:
28  void work() override;
29 };
30 } // namespace joda::docparsing
31 
32 #endif // JODA_BEAUTIFULJSONFILEREADER_H
Definition: IOThreadPool.h:182
static size_t readingThreads
Definition: config.h:56
Definition: BeautifulJSONFileReader.h:20
~BeautifulJSONFileReader() override
Definition: BeautifulJSONFileReader.cpp:19
static const size_t recommendedThreads()
Definition: BeautifulJSONFileReader.h:25
void work() override
Definition: BeautifulJSONFileReader.cpp:24
BeautifulJSONFileReader(IQueue *iqueue, OQueue *oqueue, void *ptr)
Definition: BeautifulJSONFileReader.cpp:12
Definition: IImportSource.h:12