Database cursor interface that can be used for backup.
More...
#include <databaseBackupCursorInterface.hpp>
Database cursor interface that can be used for backup.
virtual strus::DatabaseBackupCursorInterface::~DatabaseBackupCursorInterface |
( |
| ) |
|
|
inlinevirtual |
virtual bool strus::DatabaseBackupCursorInterface::fetch |
( |
const char *& |
key, |
|
|
std::size_t & |
keysize, |
|
|
const char *& |
blk, |
|
|
std::size_t & |
blksize |
|
) |
| |
|
pure virtual |
Fetches then next block to backup.
- Parameters
-
[out] | key | pointer to the key of the block |
[out] | keysize | size of key in bytes |
[out] | blk | pointer to the value of the block |
[out] | blksize | size of blk in bytes |
- Returns
- true on success, false, if there is no block left or an error occurred
The documentation for this class was generated from the following file: