My Project
Public Member Functions | Protected Member Functions
Create_qfunc Class Reference

#include <item_create.h>

Inheritance diagram for Create_qfunc:
Create_func Create_sp_func

List of all members.

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

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 ( ) [inline, protected]

Constructor.

virtual Create_qfunc::~Create_qfunc ( ) [inline, protected, virtual]

Destructor.


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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines