MySQL 9.1.0
Source Code Documentation
|
capture the user-attributes. More...
Public Member Functions | |
SelectUserAttributesHandler (RouterRequireFetcher::Result &result) | |
void | on_column_count (uint64_t count) override |
void | on_row (const classic_protocol::message::server::Row &row) override |
void | on_row_end (const classic_protocol::message::server::Eof &msg) override |
void | on_error (const classic_protocol::message::server::Error &err) override |
void | failed (classic_protocol::message::server::Error msg) |
const classic_protocol::message::server::Error & | failed () |
Public Member Functions inherited from QuerySender::Handler | |
virtual | ~Handler ()=default |
virtual void | on_column (const classic_protocol::message::server::ColumnMeta &column) |
virtual void | on_ok (const classic_protocol::message::server::Ok &ok) |
Static Public Member Functions | |
static std::optional< RouterRequire::Attributes > | parse_router_require (std::string_view json_doc) |
Private Attributes | |
uint64_t | row_count_ {} |
classic_protocol::message::server::Error | err_ {} |
std::string | user_attrs_ |
RouterRequireFetcher::Result & | result_ |
Static Private Attributes | |
static constexpr const uint16_t | kTooManyRows {1234} |
static constexpr const uint16_t | kTooManyColumns {1234} |
static constexpr const uint16_t | kAccessDenied {1045} |
capture the user-attributes.
Expects a resultset similar to that of:
|
inlineexplicit |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from QuerySender::Handler.
|
inlineoverridevirtual |
Reimplemented from QuerySender::Handler.
|
inlineoverridevirtual |
Reimplemented from QuerySender::Handler.
|
inlineoverridevirtual |
Reimplemented from QuerySender::Handler.
|
inlinestatic |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
|
private |
|
private |