Item_result_field Class Reference

#include <item.h>

Inheritance diagram for Item_result_field:

Inheritance graph
[legend]
Collaboration diagram for Item_result_field:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Item_result_field ()
 Item_result_field (THD *thd, Item_result_field *item)
 ~Item_result_field ()
Fieldget_tmp_table_field ()
Fieldtmp_table_field (TABLE *t_arg)
table_map used_tables () const
virtual void fix_length_and_dec ()=0
void set_result_field (Field *field)
bool is_result_field ()
void save_in_result_field (bool no_conversions)
void cleanup ()

Public Attributes

Fieldresult_field

Constructor & Destructor Documentation

Item_result_field::Item_result_field  )  [inline]
 

00983 :result_field(0) {}

Item_result_field::Item_result_field THD thd,
Item_result_field item
[inline]
 

00985                                                       :
00986     Item(thd, item), result_field(item->result_field)
00987   {}
  ~Item_result_field() {}                       /* Required with gcc 2.95 */

Item_result_field::~Item_result_field  )  [inline]
 

00988 {}                      /* Required with gcc 2.95 */


Member Function Documentation

void Item_result_field::cleanup  )  [virtual]
 

Reimplemented from Item.

Reimplemented in Item_in_optimizer, Item_func_in, Item_func_match, Item_subselect, Item_singlerow_subselect, Item_sum_count, Item_sum_count_distinct, Item_sum_hybrid, and Item_func_group_concat.

03714 {
03715   DBUG_ENTER("Item_result_field::cleanup()");
03716   Item::cleanup();
03717   result_field= 0;
03718   DBUG_VOID_RETURN;
03719 }

virtual void Item_result_field::fix_length_and_dec  )  [pure virtual]
 

Implemented in Item_bool_func, Item_bool_func2, Item_func_equal, Item_func_between, Item_func_interval, Item_func_ifnull, Item_func_if, Item_func_nullif, Item_func_coalesce, Item_func_case, Item_func_in, Item_func_isnull, Item_func_isnotnull, Item_equal, Item_real_func, Item_num_func, Item_num_op, Item_int_func, Item_func_signed, Item_func_unsigned, Item_func_minus, Item_func_div, Item_func_int_div, Item_func_mod, Item_func_neg, Item_func_abs, Item_dec_func, Item_func_integer, Item_func_round, Item_func_units, Item_func_min_max, Item_func_length, Item_func_char_length, Item_func_coercibility, Item_func_locate, Item_func_field, Item_func_ascii, Item_func_find_in_set, Item_func_bit, Item_func_bit_count, Item_func_last_insert_id, Item_func_benchmark, Item_func_udf_str, Item_func_get_lock, Item_func_release_lock, Item_master_pos_wait, Item_func_set_user_var, Item_func_get_user_var, Item_func_inet_aton, Item_func_is_free_lock, Item_func_is_used_lock, Item_func_row_count, Item_func_sp, Item_func_found_rows, Item_func_md5, Item_func_sha, Item_func_aes_encrypt, Item_func_aes_decrypt, Item_func_concat, Item_func_concat_ws, Item_func_reverse, Item_func_replace, Item_func_insert, Item_str_conv, Item_func_left, Item_func_right, Item_func_substr, Item_func_substr_index, Item_func_trim, Item_func_password, Item_func_old_password, Item_func_des_encrypt, Item_func_des_decrypt, Item_func_encrypt, Item_func_encode, Item_func_database, Item_func_user, Item_func_soundex, Item_func_elt, Item_func_make_set, Item_func_format, Item_func_char, Item_func_repeat, Item_func_rpad, Item_func_lpad, Item_func_conv, Item_func_hex, Item_func_unhex, Item_func_binary, Item_load_file, Item_func_export_set, Item_func_inet_ntoa, Item_func_quote, Item_func_conv_charset, Item_func_set_collation, Item_func_charset, Item_func_collation, Item_func_crc32, Item_func_uncompressed_length, Item_func_compress, Item_func_uncompress, Item_func_uuid, Item_subselect, Item_singlerow_subselect, Item_exists_subselect, Item_sum, Item_sum_int, Item_sum_sum, Item_avg_field, Item_sum_avg, Item_variance_field, Item_sum_variance, Item_sum_bit, Item_sum_udf_str, Item_func_period_add, Item_func_period_diff, Item_func_to_days, Item_func_dayofmonth, Item_func_month, Item_func_monthname, Item_func_dayofyear, Item_func_hour, Item_func_minute, Item_func_quarter, Item_func_second, Item_func_week, Item_func_yearweek, Item_func_year, Item_func_weekday, Item_func_dayname, Item_func_unix_timestamp, Item_func_time_to_sec, Item_date, Item_func_curtime, Item_func_curdate, Item_func_now, Item_func_date_format, Item_func_from_unixtime, Item_func_convert_tz, Item_func_sec_to_time, Item_date_add_interval, Item_extract, Item_typecast, Item_typecast_maybe_null, Item_char_typecast, Item_func_makedate, Item_func_add_time, Item_func_timediff, Item_func_maketime, Item_func_microsecond, Item_func_timestamp_diff, Item_func_get_format, Item_func_str_to_date, and Item_func_unique_users.

Field* Item_result_field::get_tmp_table_field  )  [inline, virtual]
 

Reimplemented from Item.

00989 { return result_field; }

bool Item_result_field::is_result_field  )  [inline, virtual]
 

Reimplemented from Item.

00994 { return 1; }

void Item_result_field::save_in_result_field bool  no_conversions  )  [inline, virtual]
 

Reimplemented from Item.

00996   {
00997     save_in_field(result_field, no_conversions);
00998   }

void Item_result_field::set_result_field Field field  )  [inline, virtual]
 

Reimplemented from Item.

00993 { result_field= field; }

Field* Item_result_field::tmp_table_field TABLE t_arg  )  [inline, virtual]
 

Reimplemented from Item.

Reimplemented in Item_func_ifnull, Item_func, Item_date, Item_date_func, Item_func_curtime, Item_func_sec_to_time, Item_date_typecast, Item_time_typecast, Item_datetime_typecast, Item_func_makedate, Item_func_add_time, Item_func_timediff, Item_func_maketime, and Item_func_str_to_date.

00990 { return result_field; }

table_map Item_result_field::used_tables  )  const [inline, virtual]
 

Reimplemented from Item.

Reimplemented in Item_cond, Item_func, Item_func_get_user_var, Item_subselect, Item_sum, Item_sum_count, Item_sum_count_distinct, and Item_sum_hybrid.

00991 { return 1; }


Member Data Documentation

Field* Item_result_field::result_field
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 24 12:01:12 2005 for MySQL by  doxygen 1.3.9.1