MySQL  8.0.19
Source Code Documentation
Create_qfunc Class Referenceabstract

Function builder for qualified functions. More...

#include <item_create.h>

Inheritance diagram for Create_qfunc:
Create_func Create_sp_func

Public Member Functions

virtual Itemcreate_func (THD *thd, LEX_STRING name, PT_item_list *item_list)
 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 ()
 Constructor. More...
 
virtual ~Create_qfunc ()
 Destructor. More...
 
- Protected Member Functions inherited from Create_func
 Create_func ()=default
 
virtual ~Create_func ()
 

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 ( )
inlineprotected

Constructor.

◆ ~Create_qfunc()

virtual Create_qfunc::~Create_qfunc ( )
inlineprotectedvirtual

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: