My Project
Public Member Functions | Protected Attributes
Item_ref_null_helper Class Reference
Inheritance diagram for Item_ref_null_helper:
Item_ref Item_ident Item

List of all members.

Public Member Functions

 Item_ref_null_helper (Name_resolution_context *context_arg, Item_in_subselect *master, Item **item, const char *table_name_arg, const char *field_name_arg)
double val_real ()
longlong val_int ()
longlong val_time_temporal ()
longlong val_date_temporal ()
Stringval_str (String *s)
my_decimalval_decimal (my_decimal *)
bool val_bool ()
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
virtual void print (String *str, enum_query_type query_type)
table_map used_tables () const

Protected Attributes

Item_in_subselectowner

Member Function Documentation

void Item_ref_null_helper::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:
mysql_register_view().

Reimplemented from Item_ref.

bool Item_ref_null_helper::val_bool ( ) [virtual]
Todo:
Make this functions class dependent

Reimplemented from Item_ref.

Return date value of item in packed longlong format.

Reimplemented from Item_ref.

Return time value of item in packed longlong format.

Reimplemented from Item_ref.


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