List of all members.
Public Member Functions |
|
| Item_type_holder (THD *, Item *) |
| Item_result | result_type () const |
|
enum_field_types | field_type () const |
|
enum Type | type () const |
|
double | val_real () |
|
longlong | val_int () |
|
my_decimal * | val_decimal (my_decimal *) |
|
String * | val_str (String *) |
|
bool | get_date (MYSQL_TIME *ltime, uint fuzzydate) |
|
bool | get_time (MYSQL_TIME *ltime) |
| bool | join_types (THD *thd, Item *) |
| Field * | make_field_by_type (TABLE *table) |
|
Field::geometry_type | get_geometry_type () const |
Static Public Member Functions |
| static uint32 | display_length (Item *item) |
| static enum_field_types | get_real_type (Item *) |
Protected Member Functions |
| void | get_full_info (Item *item) |
Protected Attributes |
|
TYPELIB * | enum_set_typelib |
|
enum_field_types | fld_type |
|
Field::geometry_type | geometry_type |
|
int | prev_decimal_int_part |
Member Function Documentation
Calculate lenth for merging result for given Item type.
- Parameters:
-
| item | Item for length detection |
- Returns:
- length
Get full information from Item about enum/set fields to be able to create them later.
- Parameters:
-
| item | Item for information collection |
Find real field type of item.
- Returns:
- type of field which should be created to store item value
Find field type which can carry current Item_type_holder type and type of given Item.
- Parameters:
-
| thd | thread handler |
| item | given item to join its parameters with this item ones |
- Return values:
-
| TRUE | error - types are incompatible |
| FALSE | OK |
Make temporary table field according collected information about type of UNION result.
- Parameters:
-
| table | temporary table for which we create fields |
- Returns:
- created field
Return expression type of Item_type_holder.
- Returns:
- Item_result (type of internal MySQL expression result)
Reimplemented from Item.
The documentation for this class was generated from the following files: