![]() |
MySQL 8.2.0
Source Code Documentation
|
#include <mysqldump_tool_chain_maker_options.h>
Public Member Functions | |
Mysqldump_tool_chain_maker_options (const Mysql_chain_element_options *mysql_chain_element_options) | |
~Mysqldump_tool_chain_maker_options () override | |
void | create_options () override |
Creates all options that will be provided. More... | |
void | process_positional_options (std::vector< std::string > positional_options) |
int | get_object_queue_id_for_schema (const std::string &schema) |
int | get_object_queue_threads_count (int object_queue_id) |
bool | is_object_included_in_dump (Abstract_data_object *object) |
int | get_parallel_schemas_with_default_thread_count () |
int | get_parallel_schemas_thread_count () |
![]() | |
void | add_providers (I_options_provider *first,...) |
Adds new providers to list. More... | |
void | add_provider (I_options_provider *options_provider) |
Adds new provider to list. More... | |
void | options_parsed () override |
This callback is to be called after all options were parsed. More... | |
std::vector< my_option > | generate_options () override |
Aggregates all options from itsself and all contained providers. More... | |
![]() | |
Simple_option * | create_new_option (std::string name, std::string description) |
Creates and attach new simple option. More... | |
Disabled_option * | create_new_disabled_option (std::string name, std::string description) |
Creates and attach new disabled option. More... | |
Char_array_option * | create_new_option (char **value, std::string name, std::string description) |
Creates and attach new string option stored in char* type object. More... | |
Password_option * | create_new_password_option (std::optional< std::string > *value, std::string name, std::string description) |
Creates and attach new password option. More... | |
String_option * | create_new_option (std::optional< std::string > *value, std::string name, std::string description) |
Creates and attach new string option. More... | |
Number_option< int32 > * | create_new_option (int32 *value, std::string name, std::string description) |
Creates and attach new 32-bit signed number option. More... | |
Number_option< uint32 > * | create_new_option (uint32 *value, std::string name, std::string description) |
Creates and attach new 32-bit unsigned number option. More... | |
Number_option< int64 > * | create_new_option (int64 *value, std::string name, std::string description) |
Creates and attach new 64-bit signed number option. More... | |
Number_option< uint64 > * | create_new_option (uint64 *value, std::string name, std::string description) |
Creates and attach new 64-bit unsigned number option. More... | |
Number_option< double > * | create_new_option (double *value, std::string name, std::string description) |
Creates and attach new floating-point number option. More... | |
Bool_option * | create_new_option (bool *value, std::string name, std::string description) |
Creates and attach new boolean option with value received from argument. More... | |
template<typename T_type , typename T_typelib > | |
Enum_option< T_type, T_typelib > * | create_new_enum_option (T_type *value, const T_typelib *type, std::string name, std::string description) |
![]() | |
virtual | ~I_option_changed_listener ()=default |
Public Attributes | |
const Mysql_chain_element_options * | m_mysql_chain_element_options |
Sql_formatter_options * | m_formatter_options |
Mysql_object_reader_options * | m_object_reader_options |
bool | m_dump_all_databases |
bool | m_dump_selected_databases |
uint32 | m_default_parallelism |
std::optional< std::string > | m_result_file |
std::optional< std::string > | m_compress_output_algorithm |
bool | m_skip_rows_data |
Private Member Functions | |
void | parallel_schemas_callback (char *) |
Private Attributes | |
std::map< int, int > | m_object_queue_threads |
Specifies number of threads used by given queue. More... | |
std::map< std::string, int > | m_database_to_object_queue_id |
std::optional< std::string > | m_parallel_schemas_string |
int | m_last_parallel_schemas_queue_id |
int | m_def_thread_count |
int | m_parallel_thread_count |
Object_filter | m_object_filter |
Additional Inherited Members | |
![]() | |
Abstract_options_provider () | |
~Abstract_options_provider () override | |
void | set_option_changed_listener (I_option_changed_listener *listener) override |
Sets optional option changes listener to which all changes in all options contained in this provider should be reported. More... | |
|
explicit |
|
override |
|
overridevirtual |
Creates all options that will be provided.
Implements Mysql::Tools::Base::Options::Abstract_options_provider.
int Mysqldump_tool_chain_maker_options::get_object_queue_id_for_schema | ( | const std::string & | schema | ) |
int Mysqldump_tool_chain_maker_options::get_object_queue_threads_count | ( | int | object_queue_id | ) |
int Mysqldump_tool_chain_maker_options::get_parallel_schemas_thread_count | ( | ) |
int Mysqldump_tool_chain_maker_options::get_parallel_schemas_with_default_thread_count | ( | ) |
bool Mysqldump_tool_chain_maker_options::is_object_included_in_dump | ( | Abstract_data_object * | object | ) |
|
private |
void Mysqldump_tool_chain_maker_options::process_positional_options | ( | std::vector< std::string > | positional_options | ) |
std::optional<std::string> Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_compress_output_algorithm |
|
private |
|
private |
uint32 Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_default_parallelism |
bool Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_dump_all_databases |
bool Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_dump_selected_databases |
Sql_formatter_options* Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_formatter_options |
|
private |
const Mysql_chain_element_options* Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_mysql_chain_element_options |
|
private |
|
private |
Specifies number of threads used by given queue.
0 is set when queue is to use –default-parallelism value.
Mysql_object_reader_options* Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_object_reader_options |
|
private |
|
private |
std::optional<std::string> Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_result_file |
bool Mysql::Tools::Dump::Mysqldump_tool_chain_maker_options::m_skip_rows_data |