MySQL 8.0.39
Source Code Documentation
mysql_command_consumer_dom_imp Class Reference

#include <mysql_command_consumer_imp.h>

Static Public Member Functions

static mysql_service_status_t start (SRV_CTX_H *srv_ctx_h, MYSQL_H *mysql_h) noexcept
 
static mysql_service_status_t start_result_metadata (SRV_CTX_H srv_ctx_h, unsigned int num_cols, unsigned int flags, const char *const collation_name) noexcept
 
static mysql_service_status_t field_metadata (SRV_CTX_H srv_ctx_h, struct Field_metadata *field, const char *const collation_name) noexcept
 
static mysql_service_status_t end_result_metadata (SRV_CTX_H srv_ctx_h, unsigned int server_status, unsigned int warn_count) noexcept
 
static mysql_service_status_t start_row (SRV_CTX_H srv_ctx_h) noexcept
 
static mysql_service_status_t abort_row (SRV_CTX_H srv_ctx_h) noexcept
 
static mysql_service_status_t end_row (SRV_CTX_H srv_ctx_h) noexcept
 
static void handle_ok (SRV_CTX_H srv_ctx_h, unsigned int server_status, unsigned int statement_warn_count, unsigned long long affected_rows, unsigned long long last_insert_id, const char *const message) noexcept
 
static void handle_error (SRV_CTX_H srv_ctx_h, uint sql_errno, const char *const err_msg, const char *const sqlstate) noexcept
 
static mysql_service_status_t get (SRV_CTX_H) noexcept
 
static mysql_service_status_t get (SRV_CTX_H, long long) noexcept
 
static mysql_service_status_t get (SRV_CTX_H, long long, unsigned int) noexcept
 
static mysql_service_status_t get (SRV_CTX_H, const DECIMAL_T_H) noexcept
 
static mysql_service_status_t get (SRV_CTX_H, double, unsigned int decimals) noexcept
 
static mysql_service_status_t get_date (SRV_CTX_H, const MYSQL_TIME_H value) noexcept
 
static mysql_service_status_t get_time (SRV_CTX_H, const MYSQL_TIME_H value, unsigned int precision) noexcept
 
static mysql_service_status_t get_datetime (SRV_CTX_H, const MYSQL_TIME_H value, unsigned int decimals) noexcept
 
static mysql_service_status_t get_string (SRV_CTX_H, const char *const value, size_t length, const char *const collation_name) noexcept
 
static void client_capabilities (SRV_CTX_H, unsigned long *capabilities) noexcept
 
static mysql_service_status_t error (SRV_CTX_H, uint32_t *err_num, const char **error_msg) noexcept
 
static void end (SRV_CTX_H srv_ctx_h) noexcept
 

Static Private Member Functions

static mysql_service_status_t store_data (SRV_CTX_H, const char *data, size_t length) noexcept
 

Member Function Documentation

◆ abort_row()

mysql_service_status_t mysql_command_consumer_dom_imp::abort_row ( SRV_CTX_H  srv_ctx_h)
staticnoexcept

◆ client_capabilities()

void mysql_command_consumer_dom_imp::client_capabilities ( SRV_CTX_H  srv_ctx_h,
unsigned long *  capabilities 
)
staticnoexcept

◆ end()

void mysql_command_consumer_dom_imp::end ( SRV_CTX_H  srv_ctx_h)
staticnoexcept

◆ end_result_metadata()

mysql_service_status_t mysql_command_consumer_dom_imp::end_result_metadata ( SRV_CTX_H  srv_ctx_h,
unsigned int  server_status,
unsigned int  warn_count 
)
staticnoexcept

◆ end_row()

mysql_service_status_t mysql_command_consumer_dom_imp::end_row ( SRV_CTX_H  srv_ctx_h)
staticnoexcept

◆ error()

mysql_service_status_t mysql_command_consumer_dom_imp::error ( SRV_CTX_H  ,
uint32_t *  err_num,
const char **  error_msg 
)
staticnoexcept

◆ field_metadata()

mysql_service_status_t mysql_command_consumer_dom_imp::field_metadata ( SRV_CTX_H  srv_ctx_h,
struct Field_metadata field,
const char *const  collation_name 
)
staticnoexcept

◆ get() [1/5]

mysql_service_status_t mysql_command_consumer_dom_imp::get ( SRV_CTX_H  srv_ctx_h)
staticnoexcept

◆ get() [2/5]

mysql_service_status_t mysql_command_consumer_dom_imp::get ( SRV_CTX_H  srv_ctx_h,
const DECIMAL_T_H  decimal 
)
staticnoexcept

◆ get() [3/5]

mysql_service_status_t mysql_command_consumer_dom_imp::get ( SRV_CTX_H  srv_ctx_h,
double  value,
unsigned int  decimals 
)
staticnoexcept

◆ get() [4/5]

mysql_service_status_t mysql_command_consumer_dom_imp::get ( SRV_CTX_H  srv_ctx_h,
long long  value 
)
staticnoexcept

◆ get() [5/5]

mysql_service_status_t mysql_command_consumer_dom_imp::get ( SRV_CTX_H  srv_ctx_h,
long long  value,
unsigned int  unsigned_flag 
)
staticnoexcept

◆ get_date()

mysql_service_status_t mysql_command_consumer_dom_imp::get_date ( SRV_CTX_H  srv_ctx_h,
const MYSQL_TIME_H  value 
)
staticnoexcept

◆ get_datetime()

mysql_service_status_t mysql_command_consumer_dom_imp::get_datetime ( SRV_CTX_H  srv_ctx_h,
const MYSQL_TIME_H  value,
unsigned int  decimals 
)
staticnoexcept

◆ get_string()

mysql_service_status_t mysql_command_consumer_dom_imp::get_string ( SRV_CTX_H  srv_ctx_h,
const char *const  value,
size_t  length,
const char *const  collation_name 
)
staticnoexcept

◆ get_time()

mysql_service_status_t mysql_command_consumer_dom_imp::get_time ( SRV_CTX_H  srv_ctx_h,
const MYSQL_TIME_H  value,
unsigned int  precision 
)
staticnoexcept

◆ handle_error()

void mysql_command_consumer_dom_imp::handle_error ( SRV_CTX_H  srv_ctx_h,
uint  sql_errno,
const char *const  err_msg,
const char *const  sqlstate 
)
staticnoexcept

◆ handle_ok()

void mysql_command_consumer_dom_imp::handle_ok ( SRV_CTX_H  srv_ctx_h,
unsigned int  server_status,
unsigned int  statement_warn_count,
unsigned long long  affected_rows,
unsigned long long  last_insert_id,
const char *const  message 
)
staticnoexcept

◆ start()

mysql_service_status_t mysql_command_consumer_dom_imp::start ( SRV_CTX_H srv_ctx_h,
MYSQL_H mysql_h 
)
staticnoexcept

◆ start_result_metadata()

mysql_service_status_t mysql_command_consumer_dom_imp::start_result_metadata ( SRV_CTX_H  srv_ctx_h,
unsigned int  num_cols,
unsigned int  flags,
const char *const  collation_name 
)
staticnoexcept

◆ start_row()

mysql_service_status_t mysql_command_consumer_dom_imp::start_row ( SRV_CTX_H  srv_ctx_h)
staticnoexcept

◆ store_data()

mysql_service_status_t mysql_command_consumer_dom_imp::store_data ( SRV_CTX_H  srv_ctx_h,
const char *  data,
size_t  length 
)
staticprivatenoexcept

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