MySQL 8.4.2
Source Code Documentation
mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults Class Reference

Public Member Functions

 ConfigurationDefaults (const mysqlrouter::ClusterType cluster_type, const std::string &id, MySQLSession *session)
 
void update ()
 

Private Member Functions

bool is_stored ()
 
void store ()
 
std::string get_config_json_as_string ()
 

Private Attributes

mysqlrouter::ClusterType cluster_type_
 
std::string id_
 
MySQLSessionsession_
 
std::string table_name_
 
std::string id_field_
 

Constructor & Destructor Documentation

◆ ConfigurationDefaults()

mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::ConfigurationDefaults ( const mysqlrouter::ClusterType  cluster_type,
const std::string &  id,
MySQLSession session 
)
inline

Member Function Documentation

◆ get_config_json_as_string()

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::get_config_json_as_string ( )
inlineprivate

◆ is_stored()

bool mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::is_stored ( )
inlineprivate

◆ store()

void mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::store ( )
inlineprivate

◆ update()

void mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::update ( )
inline

Member Data Documentation

◆ cluster_type_

mysqlrouter::ClusterType mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::cluster_type_
private

◆ id_

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::id_
private

◆ id_field_

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::id_field_
private

◆ session_

MySQLSession& mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::session_
private

◆ table_name_

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::ConfigurationDefaults::table_name_
private

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