MySQL 8.0.40
Source Code Documentation
|
#include <privilege.h>
Public Member Functions | |
Privilege (uint64 id, const std::string &name, const std::string &sql_formatted_definition) | |
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_object * | get_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 () |
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) | |
Privilege::Privilege | ( | uint64 | id, |
const std::string & | name, | ||
const std::string & | sql_formatted_definition | ||
) |