26#ifndef ROUTING_CLASSIC_INIT_SCHEMA_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_INIT_SCHEMA_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
49 static std::string_view
prefix() {
return "mysql/init_schema"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_init_schema_forwarder.h:31
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_init_schema_forwarder.h:69
Stage stage_
Definition: classic_init_schema_forwarder.h:66
stdx::expected< Result, std::error_code > error()
Definition: classic_init_schema_forwarder.cc:235
static std::string_view prefix()
Definition: classic_init_schema_forwarder.h:49
stdx::expected< Result, std::error_code > connected()
Definition: classic_init_schema_forwarder.cc:96
Stage
Definition: classic_init_schema_forwarder.h:35
stdx::expected< Result, std::error_code > forward()
Definition: classic_init_schema_forwarder.cc:129
void stage(Stage stage)
Definition: classic_init_schema_forwarder.h:53
stdx::expected< Result, std::error_code > process() override
Definition: classic_init_schema_forwarder.cc:37
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_init_schema_forwarder.cc:135
stdx::expected< Result, std::error_code > response()
Definition: classic_init_schema_forwarder.cc:145
TraceEvent * trace_event_command_
Definition: classic_init_schema_forwarder.h:68
stdx::expected< Result, std::error_code > ok()
Definition: classic_init_schema_forwarder.cc:175
stdx::expected< Result, std::error_code > connect()
Definition: classic_init_schema_forwarder.cc:86
Stage stage() const
Definition: classic_init_schema_forwarder.h:54
TraceEvent * trace_event_forward_command_
Definition: classic_init_schema_forwarder.h:70
stdx::expected< Result, std::error_code > command()
Definition: classic_init_schema_forwarder.cc:63
Definition: expected.h:286
Definition: trace_span.h:35