MySQL 8.4.2
Source Code Documentation
Create_qfunc Class Referenceabstract

Function builder for qualified functions. More...

#include <item_create.h>

Inheritance diagram for Create_qfunc:
[legend]

Public Member Functions

Itemcreate_func (THD *thd, LEX_STRING name, PT_item_list *item_list) override
 The builder create method, for unqualified functions. More...
 
virtual Itemcreate (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. More...
 

Protected Member Functions

 Create_qfunc ()=default
 Constructor. More...
 
 ~Create_qfunc () override=default
 Destructor. More...
 
- Protected Member Functions inherited from Create_func
 Create_func ()=default
 
virtual ~Create_func ()=default
 

Detailed Description

Function builder for qualified functions.

This builder is used with functions call using a qualified function name syntax, as in db.func(expr, expr, ...).

Constructor & Destructor Documentation

◆ Create_qfunc()

Create_qfunc::Create_qfunc ( )
protecteddefault

Constructor.

◆ ~Create_qfunc()

Create_qfunc::~Create_qfunc ( )
overrideprotecteddefault

Destructor.

Member Function Documentation

◆ create()

virtual Item * Create_qfunc::create ( THD thd,
LEX_STRING  db,
LEX_STRING  name,
bool  use_explicit_name,
PT_item_list item_list 
)
pure virtual

The builder create method, for qualified functions.

Parameters
thdThe current thread
dbThe database name or NULL_STR to use the default db name
nameThe function name
use_explicit_nameShould the function be represented as 'db.name'?
item_listThe list of arguments to the function, can be NULL
Returns
An item representing the parsed function call

Implemented in Create_sp_func.


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