MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Create_qfunc Class Reference

#include <item_create.h>

Inheritance diagram for Create_qfunc:
Collaboration diagram for Create_qfunc:

Public Member Functions

virtual Itemcreate_func (THD *thd, LEX_STRING name, List< Item > *item_list)
virtual Itemcreate (THD *thd, LEX_STRING db, LEX_STRING name, bool use_explicit_name, List< Item > *item_list)=0

Protected Member Functions

 Create_qfunc ()
virtual ~Create_qfunc ()
- Protected Member Functions inherited from Create_func
 Create_func ()
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, ...).

Definition at line 74 of file item_create.h.

Constructor & Destructor Documentation

Create_qfunc::Create_qfunc ( )
inlineprotected

Constructor.

Definition at line 101 of file item_create.h.

virtual Create_qfunc::~Create_qfunc ( )
inlineprotectedvirtual

Destructor.

Definition at line 103 of file item_create.h.

Member Function Documentation

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

The builder create method, for qualified functions.

Parameters
thdThe current thread
dbThe database 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.

Here is the caller graph for this function:

Item * Create_qfunc::create_func ( THD *  thd,
LEX_STRING  name,
List< Item > *  item_list 
)
virtual

The builder create method, for unqualified functions. This builder will use the current database for the database name.

Parameters
thdThe current thread
nameThe function name
item_listThe list of arguments to the function, can be NULL
Returns
An item representing the parsed function call

Implements Create_func.

Definition at line 2692 of file item_create.cc.

Here is the call graph for this function:


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