#include <mysql_command_delegates.h>
|
| 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 | start_result_metadata (uint32_t num_cols, uint32_t flags, const CHARSET_INFO *resultcs)=0 |
|
virtual int | field_metadata (struct st_send_field *field, const CHARSET_INFO *charset)=0 |
|
virtual int | end_result_metadata (uint server_status, uint warn_count)=0 |
|
virtual int | start_row ()=0 |
|
virtual int | end_row ()=0 |
|
virtual void | abort_row ()=0 |
|
virtual ulong | get_client_capabilities ()=0 |
|
virtual int | get_null ()=0 |
|
virtual int | get_integer (longlong value)=0 |
|
virtual int | get_longlong (longlong value, uint32_t unsigned_flag)=0 |
|
virtual int | get_decimal (const decimal_t *value)=0 |
|
virtual int | get_double (double value, uint32 decimals)=0 |
|
virtual int | get_date (const MYSQL_TIME *value)=0 |
|
virtual int | get_time (const MYSQL_TIME *value, uint decimals)=0 |
|
virtual int | get_datetime (const MYSQL_TIME *value, uint decimals)=0 |
|
virtual int | get_string (const char *const value, size_t length, const CHARSET_INFO *const valuecs)=0 |
|
virtual 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)=0 |
|
virtual void | handle_error (uint sql_errno, const char *const err_msg, const char *const sqlstate)=0 |
|
virtual void | shutdown (int flag) |
|
|
static int | call_start_result_metadata (void *ctx, uint num_cols, uint flags, const CHARSET_INFO *resultcs) |
|
static int | call_field_metadata (void *ctx, struct st_send_field *field, const CHARSET_INFO *charset) |
|
static int | call_end_result_metadata (void *ctx, uint server_status, uint warn_count) |
|
static int | call_start_row (void *ctx) |
|
static int | call_end_row (void *ctx) |
|
static void | call_abort_row (void *ctx) |
|
static ulong | call_get_client_capabilities (void *ctx) |
|
static int | call_get_null (void *ctx) |
|
static int | call_get_integer (void *ctx, longlong value) |
|
static int | call_get_longlong (void *ctx, longlong value, unsigned int unsigned_flag) |
|
static int | call_get_decimal (void *ctx, const decimal_t *value) |
|
static int | call_get_double (void *ctx, double value, unsigned int decimals) |
|
static int | call_get_date (void *ctx, const MYSQL_TIME *value) |
|
static int | call_get_time (void *ctx, const MYSQL_TIME *value, unsigned int decimals) |
|
static int | call_get_datetime (void *ctx, const MYSQL_TIME *value, unsigned int decimals) |
|
static int | call_get_string (void *ctx, const char *const value, size_t length, const CHARSET_INFO *const valuecs) |
|
static void | call_handle_ok (void *ctx, uint server_status, uint statement_warn_count, ulonglong affected_rows, ulonglong last_insert_id, const char *const message) |
|
static void | call_handle_error (void *ctx, uint sql_errno, const char *const err_msg, const char *const sqlstate) |
|
static void | call_shutdown (void *ctx, int flag) |
|
◆ Command_delegate() [1/3]
Command_delegate::Command_delegate |
( |
void * |
srv, |
|
|
SRV_CTX_H |
srv_ctx_h |
|
) |
| |
◆ ~Command_delegate()
Command_delegate::~Command_delegate |
( |
| ) |
|
|
virtual |
◆ Command_delegate() [2/3]
◆ Command_delegate() [3/3]
◆ abort_row()
virtual void Command_delegate::abort_row |
( |
| ) |
|
|
pure virtual |
◆ call_abort_row()
static void Command_delegate::call_abort_row |
( |
void * |
ctx | ) |
|
|
inlinestaticprivate |
◆ call_end_result_metadata()
static int Command_delegate::call_end_result_metadata |
( |
void * |
ctx, |
|
|
uint |
server_status, |
|
|
uint |
warn_count |
|
) |
| |
|
inlinestaticprivate |
◆ call_end_row()
static int Command_delegate::call_end_row |
( |
void * |
ctx | ) |
|
|
inlinestaticprivate |
◆ call_field_metadata()
◆ call_get_client_capabilities()
static ulong Command_delegate::call_get_client_capabilities |
( |
void * |
ctx | ) |
|
|
inlinestaticprivate |
◆ call_get_date()
static int Command_delegate::call_get_date |
( |
void * |
ctx, |
|
|
const MYSQL_TIME * |
value |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_datetime()
static int Command_delegate::call_get_datetime |
( |
void * |
ctx, |
|
|
const MYSQL_TIME * |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_decimal()
static int Command_delegate::call_get_decimal |
( |
void * |
ctx, |
|
|
const decimal_t * |
value |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_double()
static int Command_delegate::call_get_double |
( |
void * |
ctx, |
|
|
double |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_integer()
static int Command_delegate::call_get_integer |
( |
void * |
ctx, |
|
|
longlong |
value |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_longlong()
static int Command_delegate::call_get_longlong |
( |
void * |
ctx, |
|
|
longlong |
value, |
|
|
unsigned int |
unsigned_flag |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_null()
static int Command_delegate::call_get_null |
( |
void * |
ctx | ) |
|
|
inlinestaticprivate |
◆ call_get_string()
static int Command_delegate::call_get_string |
( |
void * |
ctx, |
|
|
const char *const |
value, |
|
|
size_t |
length, |
|
|
const CHARSET_INFO *const |
valuecs |
|
) |
| |
|
inlinestaticprivate |
◆ call_get_time()
static int Command_delegate::call_get_time |
( |
void * |
ctx, |
|
|
const MYSQL_TIME * |
value, |
|
|
unsigned int |
decimals |
|
) |
| |
|
inlinestaticprivate |
◆ call_handle_error()
static void Command_delegate::call_handle_error |
( |
void * |
ctx, |
|
|
uint |
sql_errno, |
|
|
const char *const |
err_msg, |
|
|
const char *const |
sqlstate |
|
) |
| |
|
inlinestaticprivate |
◆ call_handle_ok()
static void Command_delegate::call_handle_ok |
( |
void * |
ctx, |
|
|
uint |
server_status, |
|
|
uint |
statement_warn_count, |
|
|
ulonglong |
affected_rows, |
|
|
ulonglong |
last_insert_id, |
|
|
const char *const |
message |
|
) |
| |
|
inlinestaticprivate |
◆ call_shutdown()
static void Command_delegate::call_shutdown |
( |
void * |
ctx, |
|
|
int |
flag |
|
) |
| |
|
inlinestaticprivate |
◆ call_start_result_metadata()
static int Command_delegate::call_start_result_metadata |
( |
void * |
ctx, |
|
|
uint |
num_cols, |
|
|
uint |
flags, |
|
|
const CHARSET_INFO * |
resultcs |
|
) |
| |
|
inlinestaticprivate |
◆ call_start_row()
static int Command_delegate::call_start_row |
( |
void * |
ctx | ) |
|
|
inlinestaticprivate |
◆ callbacks()
◆ end_result_metadata()
virtual int Command_delegate::end_result_metadata |
( |
uint |
server_status, |
|
|
uint |
warn_count |
|
) |
| |
|
pure virtual |
◆ end_row()
virtual int Command_delegate::end_row |
( |
| ) |
|
|
pure virtual |
◆ field_metadata()
◆ get_client_capabilities()
virtual ulong Command_delegate::get_client_capabilities |
( |
| ) |
|
|
pure virtual |
◆ get_date()
virtual int Command_delegate::get_date |
( |
const MYSQL_TIME * |
value | ) |
|
|
pure virtual |
◆ get_datetime()
virtual int Command_delegate::get_datetime |
( |
const MYSQL_TIME * |
value, |
|
|
uint |
decimals |
|
) |
| |
|
pure virtual |
◆ get_decimal()
virtual int Command_delegate::get_decimal |
( |
const decimal_t * |
value | ) |
|
|
pure virtual |
◆ get_double()
virtual int Command_delegate::get_double |
( |
double |
value, |
|
|
uint32 |
decimals |
|
) |
| |
|
pure virtual |
◆ get_integer()
virtual int Command_delegate::get_integer |
( |
longlong |
value | ) |
|
|
pure virtual |
◆ get_longlong()
virtual int Command_delegate::get_longlong |
( |
longlong |
value, |
|
|
uint32_t |
unsigned_flag |
|
) |
| |
|
pure virtual |
◆ get_null()
virtual int Command_delegate::get_null |
( |
| ) |
|
|
pure virtual |
◆ get_string()
virtual int Command_delegate::get_string |
( |
const char *const |
value, |
|
|
size_t |
length, |
|
|
const CHARSET_INFO *const |
valuecs |
|
) |
| |
|
pure virtual |
◆ get_time()
virtual int Command_delegate::get_time |
( |
const MYSQL_TIME * |
value, |
|
|
uint |
decimals |
|
) |
| |
|
pure virtual |
◆ handle_error()
virtual void Command_delegate::handle_error |
( |
uint |
sql_errno, |
|
|
const char *const |
err_msg, |
|
|
const char *const |
sqlstate |
|
) |
| |
|
pure virtual |
◆ handle_ok()
virtual void 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 |
|
) |
| |
|
pure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ shutdown()
virtual void Command_delegate::shutdown |
( |
int |
flag | ) |
|
|
inlinevirtual |
◆ start_result_metadata()
virtual int Command_delegate::start_result_metadata |
( |
uint32_t |
num_cols, |
|
|
uint32_t |
flags, |
|
|
const CHARSET_INFO * |
resultcs |
|
) |
| |
|
pure virtual |
◆ start_row()
virtual int Command_delegate::start_row |
( |
| ) |
|
|
pure virtual |
◆ m_callbacks
◆ m_srv
void* Command_delegate::m_srv |
|
protected |
◆ m_srv_ctx_h
The documentation for this class was generated from the following files: