26#ifndef ROUTING_CLASSIC_STMT_SET_OPTION_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_STMT_SET_OPTION_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
47 static std::string_view
prefix() {
return "mysql/set_option"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_set_option_forwarder.h:31
Stage stage() const
Definition: classic_set_option_forwarder.h:52
Stage stage_
Definition: classic_set_option_forwarder.h:64
uint16_t option_value_
Definition: classic_set_option_forwarder.h:66
TraceEvent * trace_event_command_
Definition: classic_set_option_forwarder.h:68
TraceEvent * trace_event_connect_
Definition: classic_set_option_forwarder.h:70
stdx::expected< Result, std::error_code > command()
Definition: classic_set_option_forwarder.cc:64
stdx::expected< Result, std::error_code > ok()
Definition: classic_set_option_forwarder.cc:212
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_set_option_forwarder.cc:172
stdx::expected< Result, std::error_code > connect()
Definition: classic_set_option_forwarder.cc:121
stdx::expected< Result, std::error_code > forward()
Definition: classic_set_option_forwarder.cc:166
Stage
Definition: classic_set_option_forwarder.h:35
stdx::expected< Result, std::error_code > process() override
Definition: classic_set_option_forwarder.cc:38
stdx::expected< Result, std::error_code > connected()
Definition: classic_set_option_forwarder.cc:131
void stage(Stage stage)
Definition: classic_set_option_forwarder.h:51
stdx::expected< Result, std::error_code > error()
Definition: classic_set_option_forwarder.cc:286
stdx::expected< Result, std::error_code > response()
Definition: classic_set_option_forwarder.cc:182
TraceEvent * trace_event_forward_command_
Definition: classic_set_option_forwarder.h:71
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_set_option_forwarder.h:69
static std::string_view prefix()
Definition: classic_set_option_forwarder.h:47
Definition: expected.h:286
Definition: trace_span.h:35