JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <IExportDestination.h>
Public Member Functions | |
virtual | ~IExportDestination ()=default |
virtual void | consume (JsonContainerQueue::queue_t &queue) |
std::pair< std::string, double > | getTimer () |
virtual const std::string | toString ()=0 |
virtual const std::string | toQueryString ()=0 |
Protected Member Functions | |
virtual void | consumeContainer (JsonContainerQueue::queue_t &queue) |
virtual void | exportContainer (std::unique_ptr< JSONContainer > &&cont)=0 |
virtual const std::string | getTimerName ()=0 |
Protected Attributes | |
RecurringTimer | timer |
This Interface represents a method to export the documents contained in JODA
|
virtualdefault |
|
inlinevirtual |
Consumes (and times) a queue of containers. Normally this queue is filled with the results of a query.
queue | The queue to consume from |
Reimplemented in DirectoryExport.
|
inlineprotectedvirtual |
Reimplemented in StorageExport.
|
protectedpure virtual |
Implemented in StorageExport, JoinExport, FileExport, and DirectoryExport.
|
inline |
Returns a pair consisting of the name of the Export Destination and a time (in seconds) it required to consume the queues.
|
protectedpure virtual |
Implemented in StorageExport, JoinExport, FileExport, and DirectoryExport.
|
pure virtual |
Returns a string as this ExportDestination would be represented in a query
Implemented in StorageExport, JoinExport, FileExport, and DirectoryExport.
|
pure virtual |
Returns a (human readable) string describing the ExportDestination. A.toString() == B.toString() => A == B
Implemented in StorageExport, JoinExport, FileExport, and DirectoryExport.
|
protected |