MySQL 8.0.37
Source Code Documentation
Mysql::Tools::Dump::Sql_formatter_options Class Reference

#include <sql_formatter_options.h>

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

Public Member Functions

 Sql_formatter_options (const Mysql_chain_element_options *mysql_chain_element_options)
 
void create_options () override
 Creates all options that will be provided. More...
 
const TYPELIBget_gtid_purged_mode_typelib ()
 
- Public Member Functions inherited from Mysql::Tools::Base::Options::Abstract_options_provider
Simple_optioncreate_new_option (std::string name, std::string description)
 Creates and attach new simple option. More...
 
Disabled_optioncreate_new_disabled_option (std::string name, std::string description)
 Creates and attach new disabled option. More...
 
Char_array_optioncreate_new_option (char **value, std::string name, std::string description)
 Creates and attach new string option stored in char* type object. More...
 
Password_optioncreate_new_password_option (std::optional< std::string > *value, std::string name, std::string description)
 Creates and attach new password option. More...
 
String_optioncreate_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_optioncreate_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)
 
std::vector< my_optiongenerate_options () override
 Creates list of options provided by this provider. More...
 
void options_parsed () override
 Callback to be called when command-line options parsing have finished. More...
 
- Public Member Functions inherited from Mysql::Tools::Base::Options::I_option_changed_listener
virtual ~I_option_changed_listener ()=default
 

Public Attributes

bool m_add_locks
 
bool m_charsets_consistent
 
bool m_deffer_table_indexes
 
bool m_drop_database
 
bool m_drop_table
 
bool m_drop_user
 
bool m_dump_column_names
 
bool m_hex_blob
 
bool m_insert_type_replace
 
bool m_insert_type_ignore
 
bool m_suppress_create_table
 
bool m_suppress_create_database
 
bool m_timezone_consistent
 
bool m_skip_definer
 
bool m_innodb_stats_tables_included
 
bool m_column_statistics
 
enum_gtid_purged_mode m_gtid_purged
 
const Mysql_chain_element_optionsm_mysql_chain_element_options
 

Additional Inherited Members

- Protected Member Functions inherited from Mysql::Tools::Base::Options::Abstract_options_provider
 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...
 

Constructor & Destructor Documentation

◆ Sql_formatter_options()

Sql_formatter_options::Sql_formatter_options ( const Mysql_chain_element_options mysql_chain_element_options)
explicit

Member Function Documentation

◆ create_options()

void Sql_formatter_options::create_options ( )
overridevirtual

Creates all options that will be provided.

Implements Mysql::Tools::Base::Options::Abstract_options_provider.

◆ get_gtid_purged_mode_typelib()

const TYPELIB * Mysql::Tools::Dump::Sql_formatter_options::get_gtid_purged_mode_typelib ( )
inline

Member Data Documentation

◆ m_add_locks

bool Mysql::Tools::Dump::Sql_formatter_options::m_add_locks

◆ m_charsets_consistent

bool Mysql::Tools::Dump::Sql_formatter_options::m_charsets_consistent

◆ m_column_statistics

bool Mysql::Tools::Dump::Sql_formatter_options::m_column_statistics

◆ m_deffer_table_indexes

bool Mysql::Tools::Dump::Sql_formatter_options::m_deffer_table_indexes

◆ m_drop_database

bool Mysql::Tools::Dump::Sql_formatter_options::m_drop_database

◆ m_drop_table

bool Mysql::Tools::Dump::Sql_formatter_options::m_drop_table

◆ m_drop_user

bool Mysql::Tools::Dump::Sql_formatter_options::m_drop_user

◆ m_dump_column_names

bool Mysql::Tools::Dump::Sql_formatter_options::m_dump_column_names

◆ m_gtid_purged

enum_gtid_purged_mode Mysql::Tools::Dump::Sql_formatter_options::m_gtid_purged

◆ m_hex_blob

bool Mysql::Tools::Dump::Sql_formatter_options::m_hex_blob

◆ m_innodb_stats_tables_included

bool Mysql::Tools::Dump::Sql_formatter_options::m_innodb_stats_tables_included

◆ m_insert_type_ignore

bool Mysql::Tools::Dump::Sql_formatter_options::m_insert_type_ignore

◆ m_insert_type_replace

bool Mysql::Tools::Dump::Sql_formatter_options::m_insert_type_replace

◆ m_mysql_chain_element_options

const Mysql_chain_element_options* Mysql::Tools::Dump::Sql_formatter_options::m_mysql_chain_element_options

◆ m_skip_definer

bool Mysql::Tools::Dump::Sql_formatter_options::m_skip_definer

◆ m_suppress_create_database

bool Mysql::Tools::Dump::Sql_formatter_options::m_suppress_create_database

◆ m_suppress_create_table

bool Mysql::Tools::Dump::Sql_formatter_options::m_suppress_create_table

◆ m_timezone_consistent

bool Mysql::Tools::Dump::Sql_formatter_options::m_timezone_consistent

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