MySQL 8.0.40
Source Code Documentation
Mysql::Tools::Dump::I_output_writer Class Referenceabstract

#include <i_output_writer.h>

Inheritance diagram for Mysql::Tools::Dump::I_output_writer:
[legend]

Public Member Functions

virtual void append (const std::string &data_to_append)=0
 Adds new block of data atomically to output. More...
 
virtual bool init ()=0
 Initialize writer. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_chain_element
 ~I_chain_element () override
 
virtual uint64 get_id () const =0
 Returns an application unique ID of this chain element object. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_progress_reporter
virtual ~I_progress_reporter ()
 
virtual void register_progress_watcher (I_progress_watcher *new_progress_watcher)=0
 Add new Progress Watcher to report to. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Mysql::Tools::Dump::I_chain_element
virtual void item_completion_in_child_callback (Item_processing_data *item_processed)=0
 This callback can be requested to be called by child for any object processing. More...
 

Member Function Documentation

◆ append()

virtual void Mysql::Tools::Dump::I_output_writer::append ( const std::string &  data_to_append)
pure virtual

Adds new block of data atomically to output.

Atomicity assures that specified block of data will be added to output as one part, will not be divided or interleaved with another data.

Implemented in Mysql::Tools::Dump::Compression_lz4_writer, Mysql::Tools::Dump::Compression_zlib_writer, Mysql::Tools::Dump::File_writer, and Mysql::Tools::Dump::Standard_writer.

◆ init()

virtual bool Mysql::Tools::Dump::I_output_writer::init ( )
pure virtual

The documentation for this class was generated from the following file: