Drizzled Public API Documentation

drizzled::Create_qfunc Class Reference

#include <create.h>

Inheritance diagram for drizzled::Create_qfunc:
drizzled::Create_func

List of all members.

Public Member Functions

virtual Itemcreate (Session *session, LEX_STRING name, List< Item > *item_list)
virtual Itemcreate (Session *session, 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, ...).

Definition at line 80 of file create.h.


Constructor & Destructor Documentation

drizzled::Create_qfunc::Create_qfunc ( ) [inline, protected]

Constructor.

Definition at line 107 of file create.h.

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

Destructor.

Definition at line 109 of file create.h.


Member Function Documentation

virtual Item* drizzled::Create_qfunc::create ( Session session,
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:
sessionThe 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 drizzled::Create_func.

virtual Item* drizzled::Create_qfunc::create ( Session session,
LEX_STRING  db,
LEX_STRING  name,
bool  use_explicit_name,
List< Item > *  item_list 
) [pure virtual]

The builder create method, for qualified functions.

Parameters:
sessionThe 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

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