MySQL 8.1.0
Source Code Documentation
Mysql::Tools::Dump::I_progress_watcher Class Referenceabstract

#include <i_progress_watcher.h>

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

Public Member Functions

virtual void new_chain_created (Item_processing_data *new_chain_process_data)=0
 Reports new non-empty chain being created by Chain Maker or new row fetched from table by Table Reader. More...
 
virtual void object_processing_started (Item_processing_data *process_data)=0
 Report new object(table, row or any other) was started processing by specified Object Reader, Table Reader, Formatter or Row Formatter. More...
 
virtual void object_processing_ended (Item_processing_data *finished_process_data)=0
 Report object(table, row or any other) finished being processed. More...
 
virtual void crawler_completed (I_crawler *crawler)=0
 Reports crawler ended enumerating objects and creating chains for them. 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

◆ crawler_completed()

virtual void Mysql::Tools::Dump::I_progress_watcher::crawler_completed ( I_crawler crawler)
pure virtual

Reports crawler ended enumerating objects and creating chains for them.

Implemented in Mysql::Tools::Dump::Abstract_progress_watcher.

◆ new_chain_created()

virtual void Mysql::Tools::Dump::I_progress_watcher::new_chain_created ( Item_processing_data new_chain_process_data)
pure virtual

Reports new non-empty chain being created by Chain Maker or new row fetched from table by Table Reader.

Called from Crawler or Table Reader.

Implemented in Mysql::Tools::Dump::Abstract_progress_watcher.

◆ object_processing_ended()

virtual void Mysql::Tools::Dump::I_progress_watcher::object_processing_ended ( Item_processing_data finished_process_data)
pure virtual

Report object(table, row or any other) finished being processed.

In case of table, this does not necessarily mean that all rows were processed. That does not necessarily mean that object was successfully written by Output Writers.

Implemented in Mysql::Tools::Dump::Abstract_progress_watcher.

◆ object_processing_started()

virtual void Mysql::Tools::Dump::I_progress_watcher::object_processing_started ( Item_processing_data process_data)
pure virtual

Report new object(table, row or any other) was started processing by specified Object Reader, Table Reader, Formatter or Row Formatter.

Reported by these types. Is not reported by queues on enqueue but on dequeue.

Implemented in Mysql::Tools::Dump::Abstract_progress_watcher.


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