MySQL  8.0.19
Source Code Documentation
mysql_udf_registration_imp Class Reference

A helper class for the implementation of the udf_registration and udf_aggregate functions. More...

#include <udf_registration_imp.h>

Static Public Member Functions

static mysql_service_status_t udf_register (const char *name, Item_result return_type, Udf_func_any func, Udf_func_init init_func, Udf_func_deinit deinit_func) noexcept
 udf_registration::udf_register More...
 
static mysql_service_status_t udf_unregister (const char *name, int *was_present) noexcept
 udf_registration::udf_unregister and udf_registration_aggregate::udf_register More...
 
static mysql_service_status_t udf_register_aggregate (const char *func_name, enum Item_result return_type, Udf_func_any func, Udf_func_init init_func, Udf_func_deinit deinit_func, Udf_func_add add_func, Udf_func_clear clear_func) noexcept
 udf_registration_aggregate::udf_register More...
 

Static Private Member Functions

static bool udf_register_inner (udf_func *func)
 
static udf_funcalloc_udf (const char *func_name, enum Item_result return_type, Udf_func_any func, Udf_func_init init_func, Udf_func_deinit deinit_func)
 

Detailed Description

A helper class for the implementation of the udf_registration and udf_aggregate functions.

Needed because we register these service implementations as part of the mysql_server component.

Member Function Documentation

◆ alloc_udf()

udf_func * mysql_udf_registration_imp::alloc_udf ( const char *  func_name,
enum Item_result  return_type,
Udf_func_any  func,
Udf_func_init  init_func,
Udf_func_deinit  deinit_func 
)
staticprivate

◆ udf_register()

mysql_service_status_t mysql_udf_registration_imp::udf_register ( const char *  name,
Item_result  return_type,
Udf_func_any  func,
Udf_func_init  init_func,
Udf_func_deinit  deinit_func 
)
staticnoexcept

udf_registration::udf_register

◆ udf_register_aggregate()

mysql_service_status_t mysql_udf_registration_imp::udf_register_aggregate ( const char *  func_name,
enum Item_result  return_type,
Udf_func_any  func,
Udf_func_init  init_func,
Udf_func_deinit  deinit_func,
Udf_func_add  add_func,
Udf_func_clear  clear_func 
)
staticnoexcept

udf_registration_aggregate::udf_register

◆ udf_register_inner()

bool mysql_udf_registration_imp::udf_register_inner ( udf_func func)
staticprivate

◆ udf_unregister()

mysql_service_status_t mysql_udf_registration_imp::udf_unregister ( const char *  name,
int *  was_present 
)
staticnoexcept

udf_registration::udf_unregister and udf_registration_aggregate::udf_register


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