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 *, str_ref name, List< Item > *item_list)
virtual Itemcreate (Session *, str_ref db, str_ref name, bool use_explicit_name, List< Item > *)=0

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 73 of file create.h.


Member Function Documentation

virtual Item* drizzled::Create_qfunc::create ( Session ,
str_ref  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 ,
str_ref  db,
str_ref  name,
bool  use_explicit_name,
List< Item > *   
)
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: