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

#include <JSONTextParser.h>

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

Public Member Functions

 JSONTextParser (IQueue *iqueue, OQueue *oqueue, size_t sourceSize)
 
 ~JSONTextParser () 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
 

Static Public Member Functions

static const size_t recommendedThreads ()
 
- 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 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
 
- Protected Attributes inherited from IWorkerThread< JsonTextParserQueue, JsonContainerQueue, size_t >
IQueueiqueue
 
OQueueoqueue
 
WConf conf
 
bool shouldRun
 

Detailed Description

template<class Scheduler = DefaultContainerScheduler<false>>
class joda::docparsing::JSONTextParser< Scheduler >

A parser which receives the textual representation of a document and parses it into the in-memory format.

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

Constructor & Destructor Documentation

◆ JSONTextParser()

template<class Scheduler = DefaultContainerScheduler<false>>
joda::docparsing::JSONTextParser< Scheduler >::JSONTextParser ( IQueue iqueue,
OQueue oqueue,
size_t  sourceSize 
)
inline

◆ ~JSONTextParser()

template<class Scheduler = DefaultContainerScheduler<false>>
joda::docparsing::JSONTextParser< Scheduler >::~JSONTextParser ( )
inlineoverride

Member Function Documentation

◆ recommendedThreads()

template<class Scheduler = DefaultContainerScheduler<false>>
static const size_t joda::docparsing::JSONTextParser< Scheduler >::recommendedThreads ( )
inlinestatic

◆ work()

template<class Scheduler = DefaultContainerScheduler<false>>
void joda::docparsing::JSONTextParser< Scheduler >::work ( )
inlineoverrideprotectedvirtual

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