JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Protected Member Functions
joda::docparsing::JSONMetaParser< Scheduler > Class Template Reference

#include <JSONMetaParser.h>

Inheritance diagram for joda::docparsing::JSONMetaParser< Scheduler >:
[legend]
Collaboration diagram for joda::docparsing::JSONMetaParser< Scheduler >:
[legend]

Public Member Functions

 JSONMetaParser (IQueue *iqueue, OQueue *oqueue, size_t contSize)
 
 ~JSONMetaParser () override
 
- Public Member Functions inherited from IWorkerThread< JsonTextParserQueue, JsonContainerQueue, size_t >
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, const WConf &conf)
 
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, WConf &&conf)
 
 IWorkerThread (IWorkerThread &&)=default
 
 IWorkerThread (const IWorkerThread &)=delete
 
IWorkerThreadoperator= (IWorkerThread &&)=default
 
IWorkerThreadoperator= (const IWorkerThread &)=delete
 
virtual ~IWorkerThread ()
 
void start ()
 
void waitFor ()
 
void stop ()
 
bool requestedToStop () const
 
bool isRunning () const
 

Protected Member Functions

void work () override
 

Additional Inherited Members

- Public Types inherited from IWorkerThread< JsonTextParserQueue, JsonContainerQueue, size_t >
typedef IQueueStruct::queue_t IQueue
 
typedef OQueueStruct::queue_t OQueue
 
typedef IQueueStruct::payload_t IPayload
 
typedef OQueueStruct::payload_t OPayload
 
typedef size_t WConf
 
- Static Public Member Functions inherited from IWorkerThread< JsonTextParserQueue, JsonContainerQueue, size_t >
static constexpr auto getIQueueFlags ()
 
static constexpr auto getOQueueFlags ()
 
static const size_t recommendedThreads ()
 
- Protected Attributes inherited from IWorkerThread< JsonTextParserQueue, JsonContainerQueue, size_t >
IQueueiqueue
 
OQueueoqueue
 
WConf conf
 
bool shouldRun
 

Detailed Description

template<class Scheduler = DefaultContainerScheduler<true>>
class joda::docparsing::JSONMetaParser< Scheduler >

A parser which does not actually parse the documents passed to it. Instead, only the metadata of their origin required for actual parsing is used. This parser is useful for parsing in memory-rescricted environments

Template Parameters
SchedulerThe document scheduler to use for clustering documents into containers

Constructor & Destructor Documentation

◆ JSONMetaParser()

template<class Scheduler = DefaultContainerScheduler<true>>
joda::docparsing::JSONMetaParser< Scheduler >::JSONMetaParser ( IQueue iqueue,
OQueue oqueue,
size_t  contSize 
)
inline

◆ ~JSONMetaParser()

template<class Scheduler = DefaultContainerScheduler<true>>
joda::docparsing::JSONMetaParser< Scheduler >::~JSONMetaParser ( )
inlineoverride

Member Function Documentation

◆ work()

template<class Scheduler = DefaultContainerScheduler<true>>
void joda::docparsing::JSONMetaParser< Scheduler >::work ( )
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: