231 Item *on_empty_default,
233 Item *on_error_default);
Public function builder interface.
Definition: item_create.h:88
virtual Item * create_func(THD *thd, LEX_STRING name, PT_item_list *item_list)=0
The builder create method.
virtual ~Create_func()=default
Function builder for qualified functions.
Definition: item_create.h:125
virtual Item * create(THD *thd, LEX_STRING db, LEX_STRING name, bool use_explicit_name, PT_item_list *item_list)=0
The builder create method, for qualified functions.
Create_qfunc()=default
Constructor.
~Create_qfunc() override=default
Destructor.
Function builder for User Defined Functions.
Definition: item_create.h:176
Create_udf_func()=default
Constructor.
~Create_udf_func() override=default
Destructor.
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:930
Wrapper class for an Item list head, used to allocate Item lists in the parser in a context-independe...
Definition: parse_tree_helpers.h:105
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
This file contains the field type.
enum_field_types
Column types for MySQL Note: Keep include/mysql/components/services/bits/stored_program_bits....
Definition: field_types.h:55
Create_func * find_native_function_builder(const LEX_STRING &lex_name)
Find the native function builder associated with a given function name.
Definition: item_create.cc:1813
bool item_create_init()
Load the hash table for native functions.
Definition: item_create.cc:1800
Item * create_func(THD *thd, LEX_STRING name, PT_item_list *item_list) override
The builder create method, for unqualified functions.
Definition: item_create.cc:1162
Item * create(THD *thd, udf_func *fct, PT_item_list *item_list)
The builder create method, for User Defined Functions.
Definition: item_create.cc:1176
Cast_target
Definition: item_create.h:56
Item * create_func_cast(THD *thd, const POS &pos, Item *a, Cast_target cast_target, const CHARSET_INFO *cs)
Definition: item_create.cc:1831
Item * create_func_json_value(THD *thd, const POS &pos, Item *arg, Item *path, const Cast_type &cast_type, Json_on_response_type on_empty_type, Item *on_empty_default, Json_on_response_type on_error_type, Item *on_error_default)
Creates an Item that represents a JSON_VALUE expression.
Definition: item_create.cc:2150
Create_qfunc * find_qualified_function_builder(THD *)
Find the function builder for qualified functions.
Definition: item_create.cc:1827
void item_create_cleanup()
Empty the hash table for native functions.
Definition: item_create.cc:1811
static Create_udf_func s_singleton
Singleton.
Definition: item_create.h:191
Item * create_func(THD *thd, LEX_STRING name, PT_item_list *item_list) override
The builder create method.
Definition: item_create.cc:1169
Item * create_temporal_literal(THD *thd, const char *str, size_t length, const CHARSET_INFO *cs, enum_field_types type, bool send_error)
Builder for datetime literals: TIME'00:00:00', DATE'2001-01-01', TIMESTAMP'2001-01-01 00:00:00'.
Definition: item_create.cc:2184
@ ITEM_CAST_GEOMETRYCOLLECTION
@ ITEM_CAST_MULTILINESTRING
Some integer typedefs for easier portability.
uint16_t uint16
Definition: my_inttypes.h:65
static char * path
Definition: mysqldump.cc:149
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1105
Definition: commit_order_queue.h:34
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
required string type
Definition: replication_group_member_actions.proto:34
case opt name
Definition: sslopt-case.h:29
Definition: m_ctype.h:421
Definition: parser_yystype.h:182
Definition: mysql_lex_string.h:35
Bison "location" class.
Definition: parse_location.h:43
Json_on_response_type
Types of ON EMPTY/ON ERROR clauses for JSON_TABLE and JSON_VALUE.
Definition: table_function.h:192