MySQL 8.0.40
Source Code Documentation
Mysql::Tools::Dump::Trigger Class Reference

#include <trigger.h>

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

Public Member Functions

 Trigger (uint64 id, const std::string &name, const std::string &schema, const std::string &sql_formatted_definition, const Table *defined_table)
 
const Tableget_defined_table ()
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_plain_sql_object_dump_task
 Abstract_plain_sql_object_dump_task (uint64 id, const std::string &name, const std::string &schema, const std::string &sql_formatted_definition)
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_plain_sql_object
 Abstract_plain_sql_object (uint64 id, const std::string &name, const std::string &schema, const std::string &sql_formatted_definition)
 
std::string get_sql_formatted_definition () const
 
void set_sql_formatted_definition (std::string)
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_data_object
 ~Abstract_data_object () override
 
uint64 get_id () const
 Returns an unique ID of this DB object. More...
 
std::string get_schema () const
 Returns schema in which object is contained. More...
 
std::string get_name () const
 Returns name of object in schema. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_data_object
virtual ~I_data_object ()=default
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_dump_task
 Abstract_dump_task (Abstract_data_object *related_object)
 
 ~Abstract_dump_task () override
 
I_data_objectget_related_db_object () const override
 
std::vector< const Abstract_dump_task * > get_dependencies () const
 
std::vector< Abstract_dump_task * > get_dependents () const
 
void add_dependency (Abstract_dump_task *dependency)
 
bool can_be_executed () const override
 Returns true if task can start processing, for example when all dependencies are met. More...
 
void set_completed () override
 Sets task completed flag. More...
 
void register_execution_availability_callback (std::function< void(const Abstract_dump_task *)> *availability_callback)
 Registers callback to be called once this task is able to be executed. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_simple_dump_task
 Abstract_simple_dump_task ()
 
 ~Abstract_simple_dump_task () override
 
bool is_completed () const override
 Returns true if task was fully completed by all elements of chain. More...
 
void set_completed () override
 Sets task completed flag. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_dump_task
virtual ~I_dump_task ()
 

Private Attributes

const Tablem_defined_table
 

Additional Inherited Members

- Protected Member Functions inherited from Mysql::Tools::Dump::Abstract_data_object
 Abstract_data_object (uint64 id, const std::string &name, const std::string &schema)
 

Constructor & Destructor Documentation

◆ Trigger()

Trigger::Trigger ( uint64  id,
const std::string &  name,
const std::string &  schema,
const std::string &  sql_formatted_definition,
const Table defined_table 
)

Member Function Documentation

◆ get_defined_table()

const Table * Trigger::get_defined_table ( )

Member Data Documentation

◆ m_defined_table

const Table* Mysql::Tools::Dump::Trigger::m_defined_table
private

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