Drizzled Public API Documentation

drizzled::Create_func_field Class Reference

Inheritance diagram for drizzled::Create_func_field:
drizzled::Create_native_func drizzled::Create_func

List of all members.

Public Member Functions

virtual Itemcreate_native (Session *session, LEX_STRING name, List< Item > *item_list)
virtual Itemcreate (Session *session, LEX_STRING name, List< Item > *item_list)

Static Public Attributes

static Create_func_field s_singleton

Detailed Description

Definition at line 450 of file create.cc.


Member Function Documentation

Item * drizzled::Create_native_func::create ( Session session,
LEX_STRING  name,
List< Item > *  item_list 
) [virtual, inherited]

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().binlog_row_based_if_mixed
  • session->lex().current_context()
  • session->lex().safe_to_cache_query
  • session->lex().uncacheable(UNCACHEABLE_SIDEEFFECT)
  • session->lex().uncacheable(UNCACHEABLE_RAND)
  • session->lex().add_time_zone_tables_to_query_tables(session)
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 1105 of file create.cc.

References drizzled::has_named_parameters().

Item * drizzled::Create_func_field::create_native ( Session session,
LEX_STRING  name,
List< Item > *  item_list 
) [virtual]

Builder method, with no arguments.

Parameters:
sessionThe current thread
nameThe native function name
item_listThe function parameters, none of which are named
Returns:
An item representing the function call

Implements drizzled::Create_native_func.

Definition at line 1411 of file create.cc.

References drizzled::Session::mem_root.


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