![]() |
mutable
A Database System for Research and Fast Prototyping
|
An interface for all readers. More...
#include <Reader.hpp>
Public Member Functions | |
Reader (const Table &table, Diagnostic &diag, Scheduler::Transaction *transaction=nullptr) | |
virtual | ~Reader () |
virtual void | operator() (std::istream &in, const char *name="-")=0 |
Data Fields | |
const Table & | table |
the table to insert the data into | |
Diagnostic & | diag |
Scheduler::Transaction * | transaction |
An interface for all readers.
A reader takes input from a stream (file, network, etc.), matches it to the schema of a table, and inserts the data into the table's store.
Definition at line 15 of file Reader.hpp.
|
inline |
Definition at line 22 of file Reader.hpp.
|
inlinevirtual |
Definition at line 23 of file Reader.hpp.
|
pure virtual |
Implemented in m::DSVReader.
Diagnostic& m::Reader::diag |
Definition at line 18 of file Reader.hpp.
Referenced by m::DSVReader::operator()().
const Table& m::Reader::table |
the table to insert the data into
Definition at line 17 of file Reader.hpp.
Referenced by m::DSVReader::operator()().
Scheduler::Transaction* m::Reader::transaction |
Definition at line 19 of file Reader.hpp.
Referenced by m::DSVReader::operator()().