#include <create.h>
Public Member Functions | |
virtual Item * | create (Session *session, LEX_STRING name, List< Item > *item_list) |
virtual Item * | create (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 () |
Function builder for qualified functions. This builder is used with functions call using a qualified function name syntax, as in db.func(expr, expr, ...)
.
drizzled::Create_qfunc::Create_qfunc | ( | ) | [inline, protected] |
virtual drizzled::Create_qfunc::~Create_qfunc | ( | ) | [inline, protected, virtual] |
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.
session | The current thread |
name | The function name |
item_list | The list of arguments to the function, can be NULL |
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.
session | The current thread |
db | The database name |
name | The function name |
use_explicit_name | Should the function be represented as 'db.name'? |
item_list | The list of arguments to the function, can be NULL |