5 #ifndef JODA_IIMPORTSOURCE_H
6 #define JODA_IIMPORTSOURCE_H
29 : readerFlag(readerFlag),
30 parserFlag(parserFlag),
31 containerFlag(containerFlag) {}
46 DCHECK(
false) <<
"Called unimplemented queue "
47 "JODA_JSON_FILE_LINESEPERATED_READER_FLAG";
55 <<
"Called unimplemented queue JODA_JSON_FILE_BEAUTIFIED_READER_FLAG";
62 <<
"Called unimplemented queue JODA_JSON_URL_BEAUTIFIED_READER_FLAG";
ContainerFlag
Definition: ContainerFlags.h:12
ParserFlag
Definition: ParserFlags.h:13
ReaderFlag
Definition: ReaderFlags.h:11
#define JODA_JSON_FILE_LINESEPERATED_READER_FLAG
Definition: ReaderFlags.h:77
Definition: IImportSource.h:16
ContainerFlag getContainerFlag() const
Definition: IImportSource.h:39
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)
Definition: IImportSource.h:58
ParserFlag getParserFlag() const
Definition: IImportSource.h:37
IImportSource(ReaderFlag readerFlag, ParserFlag parserFlag, ContainerFlag containerFlag)
Definition: IImportSource.h:27
virtual ~IImportSource()=default
virtual const std::string toQueryString()=0
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)
Definition: IImportSource.h:41
virtual size_t estimatedSize()
Definition: IImportSource.h:81
ReaderFlag getReaderFlag() const
Definition: IImportSource.h:35
virtual const std::string toString()=0
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)
Definition: IImportSource.h:50
Definition: IImportSource.h:12
Definition: ReaderFlags.h:88