Sparksee
6.0.2
|
Public Member Functions | |
virtual sparksee::gdb::bool_t | Reset ()=0 throw (sparksee::gdb::IOException) |
Moves the reader to the beginning. More... | |
virtual sparksee::gdb::bool_t | Read (sparksee::gdb::StringList &row)=0 throw (sparksee::gdb::IOException) |
Reads the next row as a string array. More... | |
virtual sparksee::gdb::int32_t | GetRow ()=0 throw (sparksee::gdb::IOException) |
The row number for the current row. More... | |
virtual void | Close ()=0 throw (sparksee::gdb::IOException) |
Closes the reader. More... | |
virtual | ~RowReader () |
Destructor. | |
Protected Member Functions | |
RowReader () | |
Empty constructor. More... | |
RowReader interface.
Common interface for those readers which get the data as an string array.
It works as follows: perform as many read operations as necessary and call close once at the end. Once close is called no more read operations can be executed.
Check out the 'Data import' section in the SPARKSEE User Manual for more details on this.
|
inlineprotected |
Empty constructor.
Protected because no one should instantiate a RowReader. Just inherited classes can use this empty constructor.
References END_SPARKSEE_GDB_NAMESPACE.
|
pure virtual |
|
pure virtual |
The row number for the current row.
IOException | If it fails. |
Implemented in CSVReader.
|
pure virtual |
Reads the next row as a string array.
row | [out] A string list with each comma-separated element as a separate entry. |
IOException | If bad things happen during the read. |
Implemented in CSVReader.
|
pure virtual |
Moves the reader to the beginning.
Restarts the reader.
true
if the reader can be restarted, false
otherwise. IOException | If bad things happen during the restart. |
Implemented in CSVReader.