![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
#include "mysqlrouter/routing.h"#include <array>#include <chrono>#include <string>#include "common.h"#include "mysql/harness/stdx/ranges.h"Namespaces | |
| namespace | routing | 
Functions | |
| AccessMode | routing::get_access_mode (const std::string &value) | 
| Returns AccessMode for its literal representation.  More... | |
| std::string | routing::get_access_mode_names () | 
| Get comma separated list of all access mode names.  More... | |
| std::string | routing::get_access_mode_name (AccessMode access_mode) noexcept | 
| Returns literal name of given access mode.  More... | |
| stdx::expected< RoutingStrategy, std::error_code > | routing::get_routing_strategy (std::string_view value) | 
| Returns RoutingStrategy for its literal representation.  More... | |
| std::string | routing::get_routing_strategy_names (bool metadata_cache) | 
| Get comma separated list of all routing stategy names for a given routing type (metadata cache or static)  More... | |
| std::string | routing::get_routing_strategy_name (RoutingStrategy routing_strategy) noexcept | 
| Returns literal name of given routing strategy.  More... | |
| RoutingBootstrapSectionType | routing::get_section_type_from_routing_name (const std::string &name) | 
| BaseProtocol::Type | routing::get_default_protocol (RoutingBootstrapSectionType section_type) | 
| uint16_t | routing::get_default_port (RoutingBootstrapSectionType section_type) | 
| RoutingStrategy | routing::get_default_routing_strategy (RoutingBootstrapSectionType section_type) | 
| std::string | routing::get_destinations_role (RoutingBootstrapSectionType section_type) | 
| std::string | routing::get_default_routing_name (RoutingBootstrapSectionType section_type) | 
| AccessMode | routing::get_default_access_mode (RoutingBootstrapSectionType section_type) | 
| bool | routing::get_default_connection_sharing (RoutingBootstrapSectionType section_type) | 
| bool | routing::get_default_router_require_enforce (RoutingBootstrapSectionType section_type) | 
Variables | |
| static const std::array | routing::kAccessModeNames | 
| static const std::array | routing::kRoutingStrategyNames |