MySQL 8.0.40
Source Code Documentation
Callback_command_delegate Class Reference

#include <mysql_command_delegates.h>

Inheritance diagram for Callback_command_delegate:
[legend]

Public Member Functions

 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_delegateoperator= (const Command_delegate &)=default
 
Command_delegateoperator= (Command_delegate &&)=default
 
const st_command_service_cbscallbacks () 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)
 

Additional Inherited Members

- Protected Attributes inherited from Command_delegate
void * m_srv
 
SRV_CTX_H m_srv_ctx_h
 
st_command_service_cbs m_callbacks
 

Constructor & Destructor Documentation

◆ Callback_command_delegate()

Callback_command_delegate::Callback_command_delegate ( void *  srv,
SRV_CTX_H  srv_ctx_h 
)

Member Function Documentation

◆ abort_row()

void Callback_command_delegate::abort_row ( )
overridevirtual

Implements Command_delegate.

◆ end_result_metadata()

int Callback_command_delegate::end_result_metadata ( uint  server_status,
uint  warn_count 
)
overridevirtual

Implements Command_delegate.

◆ end_row()

int Callback_command_delegate::end_row ( )
overridevirtual

Implements Command_delegate.

◆ field_metadata()

int Callback_command_delegate::field_metadata ( struct st_send_field field,
const CHARSET_INFO charset 
)
overridevirtual

Implements Command_delegate.

◆ get_client_capabilities()

ulong Callback_command_delegate::get_client_capabilities ( )
overridevirtual

Implements Command_delegate.

◆ get_date()

int Callback_command_delegate::get_date ( const MYSQL_TIME value)
overridevirtual

Implements Command_delegate.

◆ get_datetime()

int Callback_command_delegate::get_datetime ( const MYSQL_TIME value,
unsigned int  decimals 
)
overridevirtual

Implements Command_delegate.

◆ get_decimal()

int Callback_command_delegate::get_decimal ( const decimal_t value)
overridevirtual

Implements Command_delegate.

◆ 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

Implements Command_delegate.

◆ get_longlong()

int Callback_command_delegate::get_longlong ( longlong  value,
unsigned int  unsigned_flag 
)
override

◆ get_null()

int Callback_command_delegate::get_null ( )
overridevirtual

Implements Command_delegate.

◆ get_string()

int Callback_command_delegate::get_string ( const char *const  value,
size_t  length,
const CHARSET_INFO *const  valuecs 
)
overridevirtual

Implements Command_delegate.

◆ get_time()

int Callback_command_delegate::get_time ( const MYSQL_TIME value,
unsigned int  decimals 
)
overridevirtual

Implements Command_delegate.

◆ handle_error()

void Callback_command_delegate::handle_error ( uint  sql_errno,
const char *const  err_msg,
const char *const  sqlstate 
)
overridevirtual

Implements Command_delegate.

◆ 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

Implements Command_delegate.

◆ representation()

enum cs_text_or_binary Callback_command_delegate::representation ( ) const
inline

◆ start_result_metadata()

int Callback_command_delegate::start_result_metadata ( uint32_t  num_cols,
uint32_t  flags,
const CHARSET_INFO resultcs 
)
overridevirtual

Implements Command_delegate.

◆ start_row()

int Callback_command_delegate::start_row ( )
overridevirtual

Implements Command_delegate.


The documentation for this class was generated from the following files: