MySQL 8.0.39
Source Code Documentation
|
Abstract object carrying its definition in SQL formatted string only. More...
#include <abstract_plain_sql_object.h>
Public Member Functions | |
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 |
Private Attributes | |
std::string | m_sql_formatted_definition |
SQL formatted object definition. More... | |
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) | |
Abstract object carrying its definition in SQL formatted string only.
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 Abstract_plain_sql_object::get_sql_formatted_definition | ( | ) | const |
void Abstract_plain_sql_object::set_sql_formatted_definition | ( | std::string | new_def | ) |
|
private |
SQL formatted object definition.