My Project
Public Member Functions
Item_func_make_set Class Reference
Inheritance diagram for Item_func_make_set:
Item_str_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_make_set (Item *a, List< Item > &list)
Stringval_str (String *str)
bool fix_fields (THD *thd, Item **ref)
void split_sum_func (THD *thd, Ref_ptr_array ref_pointer_array, List< Item > &fields)
void fix_length_and_dec ()
void update_used_tables ()
const char * func_name () const
bool walk (Item_processor processor, bool walk_subquery, uchar *arg)
Itemtransform (Item_transformer transformer, uchar *arg)
virtual void print (String *str, enum_query_type query_type)

Member Function Documentation

void Item_func_make_set::print ( String str,
enum_query_type  query_type 
) [virtual]

This method is used for to:

  • to generate a view definition query (SELECT-statement);
  • to generate a SQL-query for EXPLAIN EXTENDED;
  • to generate a SQL-query to be shown in INFORMATION_SCHEMA;
  • debug.

For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,

See also:

Reimplemented from Item_func.

void Item_func_make_set::split_sum_func ( THD *  thd,
Ref_ptr_array  ref_pointer_array,
List< Item > &  fields 
) [virtual]

See comments in Item_cmp_func::split_sum_func()

Reimplemented from Item_func.

Item * Item_func_make_set::transform ( Item_transformer  transformer,
uchar *  argument 
) [virtual]

Transform an Item_func object with a transformer callback function.

The function recursively applies the transform method to each argument of the Item_func node. If the call of the method for an argument item returns a new item the old item is substituted for a new one. After this the transformer is applied to the root node of the Item_func object.

transformerthe transformer callback function to be applied to the nodes of the tree of the object
argumentparameter to be passed to the transformer
Item returned as the result of transformation of the root node

Reimplemented from Item_func.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines