#include <udf_service_util.h>
|
static bool | deinit () |
| Release the udf_metadata_service from the registry service. More...
|
|
static bool | init () |
| Acquires the udf_metadata_service from the registry service. More...
|
|
◆ Udf_charset_service()
Udf_charset_service::Udf_charset_service |
( |
| ) |
|
|
default |
◆ ~Udf_charset_service()
Udf_charset_service::~Udf_charset_service |
( |
| ) |
|
|
default |
◆ deinit()
bool Udf_charset_service::deinit |
( |
void |
| ) |
|
|
staticprivate |
Release the udf_metadata_service from the registry service.
- Return values
-
true | if service could not be acquired |
false | Otherwise |
◆ get_charset()
std::string Udf_charset_service::get_charset |
( |
| ) |
|
|
inline |
Get the current character set getting used.
- Return values
-
◆ get_service_name()
static std::string Udf_charset_service::get_service_name |
( |
| ) |
|
|
inlinestatic |
Get service name.
- Returns
- Service name.
◆ init()
bool Udf_charset_service::init |
( |
void |
| ) |
|
|
staticprivate |
Acquires the udf_metadata_service from the registry service.
- Return values
-
true | if service could not be acquired |
false | Otherwise |
◆ set_args_charset()
bool Udf_charset_service::set_args_charset |
( |
UDF_ARGS * |
args | ) |
|
|
static |
Set the specified character set of all UDF arguments.
- Parameters
-
[in] | args | UDF_ARGS structure |
- Return values
-
true | Could not set the character set of any of the argument |
false | Otherwise |
◆ set_charset()
static void Udf_charset_service::set_charset |
( |
std::string |
charset_name | ) |
|
|
inlinestatic |
Set the specified character set.
- Parameters
-
[in] | charset_name | Character set that has to be set. |
◆ set_return_value_charset()
bool Udf_charset_service::set_return_value_charset |
( |
UDF_INIT * |
initid | ) |
|
|
static |
Set the specified character set of UDF return value.
- Parameters
-
[in] | initid | UDF_INIT structure |
- Return values
-
true | Could not set the character set of return value |
false | Otherwise |
◆ m_arg_type
std::string Udf_charset_service::m_arg_type {"charset"} |
|
staticprivate |
◆ m_charset_name
std::string Udf_charset_service::m_charset_name {"latin1"} |
|
staticprivate |
◆ m_service_name
std::string Udf_charset_service::m_service_name {"mysql_udf_metadata"} |
|
staticprivate |
The documentation for this class was generated from the following files: