JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <IImportSource.h>
Public Member Functions | |
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) |
virtual const std::string | toString ()=0 |
virtual const std::string | toQueryString ()=0 |
virtual size_t | estimatedSize () |
Interface representing a list of documents to be imported into the system.
|
inline |
Initializes a new IImportSource with the given flags
readerFlag | the flags required by the reader to be able to read the documents |
parserFlag | the flags required by the parser to be able to parse the documents |
containerFlag | the flags required by the container to be able to store the documents |
|
virtualdefault |
|
inlinevirtual |
Estimates the size of the document to be imported
Reimplemented in joda::docparsing::JSONURLSource, joda::docparsing::JSONFileSource, and joda::docparsing::JSONFileDirectorySource.
|
inlinevirtual |
Reimplemented in joda::docparsing::JSONFileSource, and joda::docparsing::JSONFileDirectorySource.
|
inlinevirtual |
Reimplemented in joda::docparsing::JSONFileSource, and joda::docparsing::JSONFileDirectorySource.
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Returns a string as this IImportSource would be represented in a query
Implemented in joda::docparsing::JSONURLSource, joda::docparsing::JSONFileSource, and joda::docparsing::JSONFileDirectorySource.
|
pure virtual |
Returns a (human readable) string describing the IImportSource. A.toString() == B.toString() => A == B
Implemented in joda::docparsing::JSONURLSource, joda::docparsing::JSONFileSource, and joda::docparsing::JSONFileDirectorySource.