Interface for writing backup chunks.
More...
#include <SqlBackupFormats.hpp>
Interface for writing backup chunks.
Definition at line 64 of file SqlBackupFormats.hpp.
◆ WriteRow()
| virtual void Lightweight::SqlBackup::ChunkWriter::WriteRow |
( |
std::span< BackupValue const > |
row | ) |
|
|
pure virtual |
Writes a single row to the chunk (buffers it).
- Parameters
-
| row | The row data to write. |
◆ Flush()
| virtual std::string Lightweight::SqlBackup::ChunkWriter::Flush |
( |
| ) |
|
|
pure virtual |
Flushes any buffered data to the output.
- Returns
- The formatted data chunk.
◆ IsChunkFull()
| virtual bool Lightweight::SqlBackup::ChunkWriter::IsChunkFull |
( |
| ) |
const |
|
pure virtual |
Checks if the current chunk should be finalized (e.g. size limit reached).
- Returns
- True if the chunk is full.
The documentation for this struct was generated from the following file: