#include <mysql_command_delegates.h>
|
| Callback_command_delegate (void *srv, SRV_CTX_H srv_ctx_h) |
|
int | start_result_metadata (uint32_t num_cols, uint32_t flags, const CHARSET_INFO *resultcs) override |
|
int | field_metadata (struct st_send_field *field, const CHARSET_INFO *charset) override |
|
int | end_result_metadata (uint server_status, uint warn_count) override |
|
enum cs_text_or_binary | representation () const |
|
int | start_row () override |
|
int | end_row () override |
|
void | abort_row () override |
|
ulong | get_client_capabilities () override |
|
int | get_null () override |
|
int | get_integer (longlong value) override |
|
int | get_longlong (longlong value, unsigned int unsigned_flag) override |
|
int | get_decimal (const decimal_t *value) override |
|
int | get_double (double value, unsigned int decimals) override |
|
int | get_date (const MYSQL_TIME *value) override |
|
int | get_time (const MYSQL_TIME *value, unsigned int decimals) override |
|
int | get_datetime (const MYSQL_TIME *value, unsigned int decimals) override |
|
int | get_string (const char *const value, size_t length, const CHARSET_INFO *const valuecs) override |
|
void | handle_ok (unsigned int server_status, unsigned int statement_warn_count, unsigned long long affected_rows, unsigned long long last_insert_id, const char *const message) override |
|
void | handle_error (uint sql_errno, const char *const err_msg, const char *const sqlstate) override |
|
Public Member Functions inherited from Command_delegate |
| Command_delegate (void *srv, SRV_CTX_H srv_ctx_h) |
|
virtual | ~Command_delegate () |
|
| Command_delegate (const Command_delegate &)=default |
|
| Command_delegate (Command_delegate &&)=default |
|
Command_delegate & | operator= (const Command_delegate &)=default |
|
Command_delegate & | operator= (Command_delegate &&)=default |
|
const st_command_service_cbs * | callbacks () const |
|
virtual int | get_longlong (longlong value, uint32_t unsigned_flag)=0 |
|
virtual int | get_double (double value, uint32 decimals)=0 |
|
virtual void | shutdown (int flag) |
|
◆ Callback_command_delegate()
Callback_command_delegate::Callback_command_delegate |
( |
void * |
srv, |
|
|
SRV_CTX_H |
srv_ctx_h |
|
) |
| |
◆ abort_row()
void Callback_command_delegate::abort_row |
( |
| ) |
|
|
overridevirtual |
◆ end_result_metadata()
int Callback_command_delegate::end_result_metadata |
( |
uint |
server_status, |
|
|
uint |
warn_count |
|
) |
| |
|
overridevirtual |
◆ end_row()
int Callback_command_delegate::end_row |
( |
| ) |
|
|
overridevirtual |
◆ field_metadata()
◆ get_client_capabilities()
ulong Callback_command_delegate::get_client_capabilities |
( |
| ) |
|
|
overridevirtual |
◆ get_date()
int Callback_command_delegate::get_date |
( |
const MYSQL_TIME * |
value | ) |
|
|
overridevirtual |
◆ get_datetime()
int Callback_command_delegate::get_datetime |
( |
const MYSQL_TIME * |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
overridevirtual |
◆ get_decimal()
int Callback_command_delegate::get_decimal |
( |
const decimal_t * |
value | ) |
|
|
overridevirtual |
◆ get_double()
int Callback_command_delegate::get_double |
( |
double |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
override |
◆ get_integer()
int Callback_command_delegate::get_integer |
( |
longlong |
value | ) |
|
|
overridevirtual |
◆ get_longlong()
int Callback_command_delegate::get_longlong |
( |
longlong |
value, |
|
|
unsigned int |
unsigned_flag |
|
) |
| |
|
override |
◆ get_null()
int Callback_command_delegate::get_null |
( |
| ) |
|
|
overridevirtual |
◆ get_string()
int Callback_command_delegate::get_string |
( |
const char *const |
value, |
|
|
size_t |
length, |
|
|
const CHARSET_INFO *const |
valuecs |
|
) |
| |
|
overridevirtual |
◆ get_time()
int Callback_command_delegate::get_time |
( |
const MYSQL_TIME * |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
overridevirtual |
◆ handle_error()
void Callback_command_delegate::handle_error |
( |
uint |
sql_errno, |
|
|
const char *const |
err_msg, |
|
|
const char *const |
sqlstate |
|
) |
| |
|
overridevirtual |
◆ handle_ok()
void Callback_command_delegate::handle_ok |
( |
unsigned int |
server_status, |
|
|
unsigned int |
statement_warn_count, |
|
|
unsigned long long |
affected_rows, |
|
|
unsigned long long |
last_insert_id, |
|
|
const char *const |
message |
|
) |
| |
|
overridevirtual |
◆ representation()
◆ start_result_metadata()
int Callback_command_delegate::start_result_metadata |
( |
uint32_t |
num_cols, |
|
|
uint32_t |
flags, |
|
|
const CHARSET_INFO * |
resultcs |
|
) |
| |
|
overridevirtual |
◆ start_row()
int Callback_command_delegate::start_row |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: