My Project
Public Member Functions
Item_hex_string Class Reference
Inheritance diagram for Item_hex_string:
Item_basic_constant Item Item_bin_string

List of all members.

Public Member Functions

 Item_hex_string (const char *str, uint str_length)
enum Type type () const
double val_real ()
longlong val_int ()
bool basic_const_item () const
Stringval_str (String *)
my_decimalval_decimal (my_decimal *)
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
bool get_time (MYSQL_TIME *ltime)
type_conversion_status save_in_field (Field *field, bool no_conversions)
enum Item_result result_type () const
enum Item_result cast_to_int_type () const
enum_field_types field_type () const
virtual void print (String *str, enum_query_type query_type)
bool eq (const Item *item, bool binary_cmp) const
virtual Itemsafe_charset_converter (const CHARSET_INFO *tocs)
bool check_partition_func_processor (uchar *int_arg)

Member Function Documentation

bool Item_hex_string::eq ( const Item item,
bool  binary_cmp 
) const [virtual]

This function is called when:

  • Comparing items in the WHERE clause (when doing where optimization)
  • When trying to find an ORDER BY/GROUP BY item in the SELECT part
  • When matching fields in multiple equality objects (Item_equal)

Reimplemented from Item.

void Item_hex_string::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.

type_conversion_status Item_hex_string::save_in_field ( Field field,
bool  no_conversions 
) [virtual]

Save a temporal value in packed longlong format into a Field. Used in optimizer.

Parameters:
OUTfield The field to set the value to.
Return values:
0On success.
>0In error.

Reimplemented from Item.


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