Drizzled Public API Documentation

drizzled::Create_func_arg3 Class Reference
Inheritance diagram for drizzled::Create_func_arg3:
drizzled::Create_func drizzled::Create_func_conv drizzled::Create_func_lpad drizzled::Create_func_rpad

List of all members.

Public Member Functions

virtual Itemcreate (Session *session, str_ref name, List< Item > *item_list)
virtual Itemcreate (Session *session, Item *arg1, Item *arg2, Item *arg3)=0

Detailed Description

Adapter for functions that takes exactly three arguments.

Definition at line 213 of file create.cc.


Member Function Documentation

Item * drizzled::Create_func_arg3::create ( Session ,
str_ref  name,
List< Item > *  item_list 
)
virtual

The builder create method. Given the function name and list or arguments, this method creates an Item that represents the function call. In case or errors, a NULL item is returned, and an error is reported. Note that the session object may be modified by the builder. In particular, the following members/methods can be set/called, depending on the function called and the function possible side effects.

  • session->lex().current_context()
  • session->lex().uncacheable(UNCACHEABLE_SIDEEFFECT)
  • session->lex().uncacheable(UNCACHEABLE_RAND)
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, or NULL

Implements drizzled::Create_func.

Definition at line 998 of file create.cc.

References drizzled::Item::is_autogenerated_name.

virtual Item* drizzled::Create_func_arg3::create ( Session session,
Item arg1,
Item arg2,
Item arg3 
)
pure virtual

Builder method, with three arguments.

Parameters:
sessionThe current thread
arg1The first argument of the function
arg2The second argument of the function
arg3The third argument of the function
Returns:
An item representing the function call

Implemented in drizzled::Create_func_rpad, drizzled::Create_func_lpad, and drizzled::Create_func_conv.


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