JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions
joda::docparsing::JSONURLSource Class Reference

#include <JSONURLSource.h>

Inheritance diagram for joda::docparsing::JSONURLSource:
[legend]
Collaboration diagram for joda::docparsing::JSONURLSource:
[legend]

Public Member Functions

 JSONURLSource (std::string urlPath)
 
virtual void feedSources (JsonURLReaderQueue::queue_t &queue, JsonURLReaderQueue::queue_t::ptok_t &ptok) override
 
size_t estimatedSize () override
 
const std::string toString () override
 
const std::string toQueryString () override
 
- Public Member Functions inherited from joda::docparsing::IImportSource
 IImportSource (ReaderFlag readerFlag, ParserFlag parserFlag, ContainerFlag containerFlag)
 
virtual ~IImportSource ()=default
 
ReaderFlag getReaderFlag () const
 
ParserFlag getParserFlag () const
 
ContainerFlag getContainerFlag () const
 
virtual void feedSources (JODA_READER_QUEUE< JODA_JSON_FILE_LINESEPERATED_READER_FLAG >::queue_t &queue, JODA_READER_QUEUE< JODA_JSON_FILE_LINESEPERATED_READER_FLAG >::queue_t::ptok_t &ptok)
 
virtual void feedSources (JODA_READER_QUEUE< JODA_JSON_FILE_BEAUTIFIED_READER_FLAG >::queue_t &queue, JODA_READER_QUEUE< JODA_JSON_FILE_BEAUTIFIED_READER_FLAG >::queue_t::ptok_t &ptok)
 
virtual void feedSources (JODA_READER_QUEUE< JODA_JSON_URL_READER_FLAG >::queue_t &queue, JODA_READER_QUEUE< JODA_JSON_URL_READER_FLAG >::queue_t::ptok_t &ptok)
 

Detailed Description

Represents a web url which contains a single JSON file to be imported.

Constructor & Destructor Documentation

◆ JSONURLSource()

joda::docparsing::JSONURLSource::JSONURLSource ( std::string  urlPath)
explicit

Member Function Documentation

◆ estimatedSize()

size_t joda::docparsing::JSONURLSource::estimatedSize ( )
overridevirtual

Estimates the size of the document to be imported

Reimplemented from joda::docparsing::IImportSource.

Here is the call graph for this function:

◆ feedSources()

void joda::docparsing::JSONURLSource::feedSources ( JsonURLReaderQueue::queue_t queue,
JsonURLReaderQueue::queue_t::ptok_t ptok 
)
overridevirtual
Here is the call graph for this function:

◆ toQueryString()

const std::string joda::docparsing::JSONURLSource::toQueryString ( )
overridevirtual

Returns a string as this IImportSource would be represented in a query

Returns

Implements joda::docparsing::IImportSource.

◆ toString()

const std::string joda::docparsing::JSONURLSource::toString ( )
overridevirtual

Returns a (human readable) string describing the IImportSource. A.toString() == B.toString() => A == B

Returns

Implements joda::docparsing::IImportSource.


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