Public Member Functions | |
Item_default_value (Name_resolution_context *context_arg) | |
Item_default_value (Name_resolution_context *context_arg, Item *a) | |
enum Type | type () const |
bool | eq (const Item *item, bool binary_cmp) const |
bool | fix_fields (Session *, Item **) |
virtual void | print (String *str) |
int | save_in_field (Field *field_arg, bool no_conversions) |
table_map | used_tables () const |
bool | walk (Item_processor processor, bool walk_subquery, unsigned char *args) |
Item * | transform (Item_transformer transformer, unsigned char *args) |
double | val_real () |
int64_t | val_int () |
type::Decimal * | val_decimal (type::Decimal *) |
String * | val_str (String *) |
double | val_result () |
int64_t | val_int_result () |
String * | str_result (String *tmp) |
type::Decimal * | val_decimal_result (type::Decimal *) |
bool | val_bool_result () |
void | send (plugin::Client *client, String *str_arg) |
void | reset_field (Field *f) |
void | fix_after_pullout (Select_Lex *new_parent, Item **ref) |
void | make_field (SendField *tmp_field) |
void | save_org_in_field (Field *field) |
enum Item_result | result_type () const |
Item_result | cast_to_int_type () const |
enum_field_types | field_type () const |
int64_t | val_int_endpoint (bool left_endp, bool *incl_endp) |
Field * | get_tmp_table_field () |
Field * | tmp_table_field (Table *) |
bool | get_date (type::Time <ime, uint32_t fuzzydate) |
bool | get_date_result (type::Time <ime, uint32_t fuzzydate) |
bool | get_time (type::Time <ime) |
bool | is_null () |
void | update_null_value () |
Item * | get_tmp_table_item (Session *session) |
bool | collect_item_field_processor (unsigned char *arg) |
bool | find_item_in_field_list_processor (unsigned char *arg) |
bool | register_field_in_read_map (unsigned char *arg) |
void | cleanup () |
bool | result_as_int64_t () |
Item_equal * | find_item_equal (COND_EQUAL *cond_equal) |
bool | subst_argument_checker (unsigned char **arg) |
Item * | equal_fields_propagator (unsigned char *arg) |
bool | set_no_const_sub (unsigned char *arg) |
Item * | replace_equal_field (unsigned char *arg) |
uint32_t | max_disp_length () |
Item * | safe_charset_converter (const charset_info_st *const tocs) |
int | fix_outer_field (Session *session, Field **field, Item **reference) |
virtual Item * | update_value_transformer (unsigned char *select_arg) |
const char * | full_name () const |
bool | remove_dependence_processor (unsigned char *arg) |
virtual bool | change_context_processor (unsigned char *cntx) |
bool | is_unsigned () const |
virtual bool | negative () const |
void | set_name (str_ref arg) |
void | set_name (const char *arg) |
void | set_name (const char *str, uint32_t length, const charset_info_st *cs=system_charset_info) |
void | init_make_field (SendField *tmp_field, enum_field_types type) |
Field * | make_string_field (Table *table) |
void | quick_fix_field () |
virtual int | save_safe_in_field (Field *field) |
virtual enum_field_types | string_field_type () const |
uint64_t | val_uint () |
virtual bool | val_bool () |
String * | val_string_from_real (String *str) |
String * | val_string_from_int (String *str) |
String * | val_string_from_decimal (String *str) |
type::Decimal * | val_decimal_from_real (type::Decimal *decimal_value) |
type::Decimal * | val_decimal_from_int (type::Decimal *decimal_value) |
type::Decimal * | val_decimal_from_string (type::Decimal *decimal_value) |
type::Decimal * | val_decimal_from_date (type::Decimal *decimal_value) |
type::Decimal * | val_decimal_from_time (type::Decimal *decimal_value) |
int64_t | val_int_from_decimal () |
double | val_real_from_decimal () |
bool | save_time_in_field (Field *field) |
bool | save_date_in_field (Field *field) |
int | save_str_value_in_field (Field *field, String *result) |
virtual table_map | not_null_tables () const |
virtual bool | basic_const_item () const |
virtual Item * | clone_item () |
virtual cond_result | eq_cmp_result () const |
uint32_t | float_length (uint32_t decimals_par) const |
virtual uint32_t | decimal_precision () const |
int | decimal_int_part () const |
virtual bool | const_item () const |
virtual bool | const_during_execution () const |
void | print_item_w_name (String *) |
virtual void | update_used_tables () |
virtual void | split_sum_func (Session *session, Item **ref_pointer_array, List< Item > &fields) |
void | split_sum_func (Session *session, Item **ref_pointer_array, List< Item > &fields, Item **ref, bool skip_registered) |
virtual void | top_level_item (void) |
virtual void | set_result_field (Field *field) |
virtual bool | is_result_field (void) |
virtual bool | is_bool_func (void) |
virtual void | save_in_result_field (bool no_conversions) |
virtual void | no_rows_in_result (void) |
virtual Item * | copy_or_same (Session *session) |
virtual Item * | copy_andor_structure (Session *session) |
virtual Item * | real_item (void) |
virtual const Item * | real_item (void) const |
virtual const charset_info_st * | compare_collation () |
virtual Item * | compile (Item_analyzer analyzer, unsigned char **arg_p, Item_transformer transformer, unsigned char *arg_t) |
virtual void | traverse_cond (Cond_traverser traverser, void *arg, traverse_order order) |
virtual bool | cache_const_expr_analyzer (unsigned char **arg) |
virtual Item * | cache_const_expr_transformer (unsigned char *arg) |
virtual uint32_t | cols () |
virtual Item * | element_index (uint32_t i) |
virtual Item ** | addr (uint32_t i) |
virtual bool | check_cols (uint32_t c) |
virtual bool | null_inside () |
virtual void | bring_value () |
Field * | tmp_table_field_from_field_type (Table *table, bool fixed_length) |
virtual Item * | neg_transformer (Session *session) |
void | delete_self () |
bool | is_datetime () |
virtual bool | is_expensive () |
String * | check_well_formed_result (String *str, bool send_error=0) |
bool | eq_by_collation (Item *item, bool binary_cmp, const charset_info_st *const cs) |
uint32_t | char_to_byte_length_safe (uint32_t char_length_arg, uint32_t mbmaxlen_arg) |
uint32_t | max_char_length () const |
void | fix_char_length (uint32_t max_char_length_arg) |
Static Public Member Functions | |
static const charset_info_st * | default_charset () |
static void * | operator new (size_t size) |
static void * | operator new (size_t size, Root &root) |
static void * | operator new (size_t size, Root *root) |
static void * | operator new[] (size_t size) |
static void * | operator new[] (size_t size, Root &root) |
static void * | operator new[] (size_t size, Root *root) |
static void | operator delete (void *) |
static void | operator delete (void *, Root &) |
static void | operator delete (void *, Root *) |
static void | operator delete[] (void *) |
static void | operator delete[] (void *, Root &) |
static void | operator delete[] (void *, Root *) |
Public Attributes | |
Item * | arg |
Field * | field |
Field * | result_field |
Item_equal * | item_equal |
bool | no_const_subst |
uint32_t | have_privileges |
bool | any_privileges |
Name_resolution_context * | context |
const char * | db_name |
const char * | table_name |
const char * | field_name |
bool | alias_name_used |
uint32_t | cached_field_index |
TableList * | cached_table |
Select_Lex * | depended_from |
String | str_value |
const char * | name |
uint32_t | name_length |
Item * | next |
uint32_t | max_length |
int8_t | marker |
uint8_t | decimals |
bool | fixed |
bool | maybe_null |
bool | null_value |
bool | unsigned_flag |
bool | with_sum_func |
bool | is_autogenerated_name |
bool | with_subselect |
DTCollation | collation |
Item_result | cmp_context |
Protected Member Functions | |
void | set_field (Field *field) |
Session & | getSession () |
Protected Attributes | |
const char * | orig_db_name |
const char * | orig_table_name |
const char * | orig_field_name |
Definition at line 27 of file default_value.h.
|
inlinevirtualinherited |
Returns true if this is a simple constant item like an integer, not a constant expression. Used in the optimizer to propagate basic constants.
Reimplemented in drizzled::Item_ref, drizzled::Item_string, drizzled::Item_cache, drizzled::Item_int, drizzled::Item_float, drizzled::Item_null, drizzled::Item_decimal, and drizzled::Item_hex_string.
Definition at line 474 of file item.h.
Referenced by drizzled::Item_cache::basic_const_item(), drizzled::Item::cache_const_expr_analyzer(), drizzled::Item_hex_string::eq(), drizzled::Item_float::eq(), drizzled::Item_decimal::eq(), drizzled::Item_int::eq(), drizzled::Item_string::eq(), drizzled::find_order_in_list(), and drizzled::Item_func_set_collation::print().
|
virtualinherited |
Check if an item is a constant one and can be cached.
arg | [out] TRUE <=> Cache this item. |
Definition at line 1262 of file item.cc.
References drizzled::Item::basic_const_item(), and drizzled::Item::const_item().
Referenced by drizzled::Join::cache_const_exprs().
|
virtualinherited |
Cache item if needed.
arg | TRUE <=> Cache this item. |
Definition at line 1297 of file item.cc.
Referenced by drizzled::Join::cache_const_exprs().
|
virtualinherited |
Store the pointer to this item field into a list if not already there.
The method is used by Item::walk to collect all unique Item_field objects from a tree of Items into a set of items represented as a list.
Item_cond::walk() and Item_func::walk() stop the evaluation of the processor function for its arguments once the processor returns true.Therefore in order to force this method being called for all item arguments in a condition the method must return false.
arg | pointer to a List<Item_field> |
Reimplemented from drizzled::Item.
|
virtualinherited |
This function performs a generic "compilation" of the Item tree. The process of compilation is assumed to go as follows:
i.e. analysis is performed top-down while transformation is done bottom-up.
Reimplemented in drizzled::Item_cond, and drizzled::Item_func.
Definition at line 585 of file item.cc.
Referenced by drizzled::build_equal_items_for_cond(), drizzled::Join::cache_const_exprs(), and drizzled::Item_func::compile().
|
inlinevirtualinherited |
Returns true if this is constant but its value may be not known yet. (Can be used for parameters of prep. stmts or of stored procedures.)
Reimplemented in drizzled::Item_sum.
|
inlinevirtualinherited |
Returns true if this is constant (during query execution, i.e. its value will not change until next fix_fields) and its value is known.
Reimplemented in drizzled::Item_func_trig_cond, drizzled::Item_sum, drizzled::Item_func, drizzled::Item_subselect, drizzled::Item_row, drizzled::Item_copy_string, drizzled::Item_func_get_user_var, drizzled::Item_func_rollup_const, RandFunction, and drizzled::Item_func_sysdate_local.
Definition at line 495 of file item.h.
Referenced by drizzled::Item::cache_const_expr_analyzer(), drizzled::check_simple_equality(), drizzled::create_tmp_table(), drizzled::delete_query(), drizzled::Item_row::fix_after_pullout(), drizzled::Item_func::fix_after_pullout(), drizzled::group_concat_key_cmp_with_distinct(), drizzled::group_concat_key_cmp_with_order(), drizzled::Join::make_sum_func_list(), drizzled::maxmin_in_range(), drizzled::Join::rollup_make_fields(), and drizzled::setup_group().
|
virtual |
Compares this Item to another Item, returning true if Item's are functionally equal.
This function is called when:
Reimplemented from drizzled::Item.
Definition at line 30 of file default_value.cc.
|
inherited |
Compares two items using a given collation
This method works exactly as Item::eq if the collation cs coincides with the collation of the compared objects. Otherwise, first the collations that differ from cs are replaced for cs and then the items are compared by Item::eq. After the comparison the original collations of items are restored.
Pointer | to the item to compare with |
Compare | as binary? |
Pointer | to the collation to use when comparing strings |
true | if compared items has been detected as equal |
false | otherwise |
Definition at line 1081 of file item.cc.
References drizzled::Item::eq().
|
virtualinherited |
Set a pointer to the multiple equality the field reference belongs to (if any).
The function looks for a multiple equality containing the field item among those referenced by arg. In the case such equality exists the function does the following. If the found multiple equality contains a constant, then the field reference is substituted for this constant, otherwise it sets a pointer to the multiple equality in the field item.
arg | reference to list of multiple equalities where the field (this object) is to be looked for |
Reimplemented from drizzled::Item.
Definition at line 1027 of file field.cc.
References drizzled::Item::cmp_context, and drizzled::Item_field::find_item_equal().
|
inherited |
Find a field among specified multiple equalities.
The function first searches the field among multiple equalities of the current level (in the cond_equal->current_level list). If it fails, it continues searching in upper levels accessed through a pointer cond_equal->upper_levels. The search terminates as soon as a multiple equality containing the field is found.
cond_equal | reference to list of multiple equalities where the field (this object) is to be looked for |
Definition at line 947 of file field.cc.
Referenced by drizzled::eliminate_item_equal(), and drizzled::Item_field::equal_fields_propagator().
|
virtualinherited |
Check if an Item_field references some field from a list of fields.
Check whether the Item_field represented by 'this' references any of the fields in the keyparts passed via 'arg'. Used with the method Item::walk() to test whether any keypart in a sequence of keyparts is referenced in an expression.
true | if 'this' references the field 'arg' |
false | otherwise |
Reimplemented from drizzled::Item.
|
virtualinherited |
Fix after some tables has been pulled out. Basically re-calculate all attributes that are dependent on the tables.
Reimplemented from drizzled::Item.
Definition at line 408 of file field.cc.
References drizzled::Name_resolution_context::first_name_resolution_table, drizzled::Name_resolution_context::last_name_resolution_table, drizzled::Name_resolution_context::outer_context, and drizzled::Name_resolution_context::select_lex.
|
inherited |
Resolve the name of an outer select column reference.
The method resolves the column reference represented by 'this' as a column present in outer selects that contain current select.
In prepared statements, because of cache, find_field_in_tables() can resolve fields even if they don't belong to current context. In this case this method only finds appropriate context and marks current select as dependent. The found reference of field should be provided in 'from_field'.
[in] | session | current thread |
[in,out] | from_field | found field reference or (Field*)not_found_field |
[in,out] | reference | view column if this item was resolved to a view column |
1 | column succefully resolved and fix_fields() should continue. |
0 | column fully fixed and fix_fields() should return false |
-1 | error occured |
Definition at line 481 of file field.cc.
References drizzled::Name_resolution_context::first_name_resolution_table, drizzled::Item_ref::fix_fields(), drizzled::Item::fixed, drizzled::Name_resolution_context::last_name_resolution_table, drizzled::mark_as_dependent(), drizzled::Name_resolution_context::outer_context, drizzled::resolve_ref_in_select_and_group(), drizzled::Name_resolution_context::select_lex, and drizzled::TableList::select_lex.
Referenced by drizzled::Item_field::fix_fields().
|
virtualinherited |
Get the value of the function as a type::Time structure. As a extra convenience the time structure is reset on error!
Reimplemented from drizzled::Item.
Definition at line 264 of file field.cc.
References drizzled::Item::null_value.
|
virtualinherited |
Get time of first argument.
As a extra convenience the time structure is reset on error!
Reimplemented from drizzled::Item.
Definition at line 285 of file field.cc.
References drizzled::Item::null_value.
|
virtualinherited |
Tests whether an expression is expensive to compute. Used during optimization to avoid computing expensive expressions during this phase. Also used to force temp tables when sorting on expensive functions.
Normally we should have a method: cost Item::execution_cost(), where 'cost' is either 'double' or some structure of various cost parameters.
NOTE This function is now used to prevent evaluation of materialized IN subquery predicates before it is allowed. grep for DontEvaluateMaterializedSubqueryTooEarly to see the uses.
Definition at line 688 of file item.cc.
Referenced by drizzled::Join::optimize().
|
virtualinherited |
The method allows to determine nullness of a complex expression without fully evaluating it, instead of calling val/result*() then checking null_value. Used in Item_func_isnull/Item_func_isnotnull and Item_sum_count/Item_sum_count_distinct. Any new item which can be NULL must implement this method.
Reimplemented from drizzled::Item.
Create a field to hold a string value from an item.
If max_length > CONVERT_IF_BIGGER_TO_BLOB create a blob
If max_length > 0 create a varchar
If max_length == 0 create a CHAR(0)
table | Table for which the field is created |
Definition at line 1103 of file item.cc.
References drizzled::Item::maybe_null, and drizzled::Item::name.
Referenced by drizzled::create_tmp_field_from_item(), and drizzled::Item::tmp_table_field_from_field_type().
|
virtualinherited |
Sets value of aggregate function in case of no rows for grouping were found
Reimplemented in drizzled::Item_func_group_concat, drizzled::Item_sum_hybrid, drizzled::Item_sum_variance, drizzled::Item_sum_avg, drizzled::Item_sum_count_distinct, drizzled::Item_sum_count, drizzled::Item_sum_distinct, drizzled::Item_sum_sum, and drizzled::Item_sum.
|
inlinevirtualinherited |
Return table map of tables that can't be NULL tables (tables that are used in a context where if they would contain a NULL row generated by a LEFT or RIGHT join, the item would not be true). This expression is used on WHERE item to determinate if a LEFT JOIN can be converted to a normal join. Generally this function should return used_tables() if the function would return null if any of the arguments are null As this is only used in the beginning of optimization, the value don't have to be updated in update_used_tables()
Reimplemented in drizzled::Item_cond_or, drizzled::Item_cond_and, drizzled::Item_func_isnotnull, drizzled::Item_func_isnull, drizzled::Item_func_case, drizzled::Item_func_nullif, drizzled::Item_func_coalesce, drizzled::Item_func_equal, drizzled::Item_subselect, drizzled::Item_ref, drizzled::Item_func, drizzled::Item_func_concat_ws, CoercibilityFunction, and drizzled::Item_func_collation.
Definition at line 466 of file item.h.
Referenced by drizzled::and_expressions(), drizzled::Item_func::fix_after_pullout(), and drizzled::simplify_joins().
|
virtual |
This method is used for to:
For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,
Reimplemented from drizzled::Item_field.
Definition at line 71 of file default_value.cc.
References drizzled::Item::print().
|
inlineinherited |
Should be used in case where we are sure that we do not need complete fix_fields() procedure.
Definition at line 207 of file item.h.
Referenced by drizzled::build_equal_items_for_cond(), drizzled::check_row_equality(), drizzled::check_simple_equality(), drizzled::eliminate_item_equal(), and drizzled::Join::exec().
|
virtualinherited |
Replace an Item_field for an equal Item_field that evaluated earlier (if any).
The function returns a pointer to an item that is taken from the very beginning of the item_equal list which the Item_field object refers to (belongs to) unless item_equal contains a constant item. In this case the function returns this constant item, (if the substitution does not require conversion). If the Item_field object does not refer any Item_equal object 'this' is returned .
arg | a dummy parameter, is not used here |
Reimplemented from drizzled::Item.
Definition at line 1093 of file field.cc.
References drizzled::Item::cmp_context.
|
inherited |
Reset this item to point to a field from the new temporary table. This is used when we create a new temporary table for each execution of prepared statement.
Definition at line 212 of file field.cc.
References drizzled::Field::field_name, and drizzled::Item::name.
|
virtualinherited |
Returns true for Items representing DATE/TIME functions and DATE/TIME table fields. Those Items have result_type()==STRING_RESULT (and not INT_RESULT), but their values should be compared as integers (because the integer representation is more precise than the string one).
Reimplemented from drizzled::Item.
Definition at line 923 of file field.cc.
References drizzled::Field::can_be_compared_as_int64_t().
|
virtualinherited |
Set a field's value from a item.
Reimplemented from drizzled::Item.
Definition at line 1137 of file field.cc.
References drizzled::field_conv(), drizzled::Item::null_value, and drizzled::set_field_to_null_with_conversions().
Stores a string value in field directly
The method is used by Item_*::save_in_field implementations when we don't need to calculate the value to store
Pointer | to field where to store |
Pointer | to the string value to be stored |
Nonzero | value if error |
Check if the Item is null and stores the NULL or the result value in the field accordingly.
|
virtualinherited |
This is only called from items that is not of type item_field.
Reimplemented from drizzled::Item.
|
virtualinherited |
Mark the item to not be part of substitution if it's not a binary item.
See comments in Arg_comparator::set_compare_func() for details.
Reimplemented from drizzled::Item.
|
virtualinherited |
Sets field of temporary table for Item which can be switched on temporary table during query processing (grouping and so on)
Reimplemented in drizzled::Item_ref, and drizzled::Item_result_field.
Definition at line 526 of file item.cc.
Referenced by drizzled::create_tmp_field_from_item().
|
inherited |
Move SUM items out from item tree and replace with reference.
session | Thread handler |
ref_pointer_array | Pointer to array of reference fields |
fields | All fields in select |
ref | Pointer to item |
skip_registered | <=> function be must skipped for registered SUM items |
All found SUM items are added FIRST in the fields list and we replace the item with a reference.
session->fatal_error() may be called if we are out of memory
Definition at line 716 of file item.cc.
References drizzled::Item::name, and drizzled::Item::used_tables().
|
virtualinherited |
Check whether a field can be substituted by an equal item.
The function checks whether a substitution of the field occurrence for an equal item is valid.
arg | *arg != NULL <-> the field is in the context where substitution for an equal item is valid |
true | substitution is valid |
false | otherwise |
Reimplemented from drizzled::Item.
|
inherited |
Create a field based on field_type of argument.
For now, this is only used to create a field for IFNULL(x,something) and time functions
NULL | error |
# Created field |
Definition at line 1124 of file item.cc.
References drizzled::Item::make_string_field(), drizzled::Item::maybe_null, and drizzled::Item::name.
Referenced by drizzled::create_tmp_field_from_item().
|
virtualinherited |
Inform the item that there will be no distinction between its result being false or NULL.
This function will be called for eg. Items that are top-level AND-parts of the WHERE clause. Items implementing this function (currently Item_cond_and and subquery-related item) enable special optimizations when they are "top level".
Reimplemented in drizzled::Item_cond_xor, drizzled::Item_cond, drizzled::Item_func_isnotnull, drizzled::Item_func_opt_neg, drizzled::Item_func_not_all, drizzled::Item_in_subselect, and drizzled::Item_bool_func2.
Definition at line 523 of file item.cc.
Referenced by drizzled::Join::exec(), drizzled::Join::optimize(), drizzled::Item_in_subselect::row_value_in_to_exists_transformer(), and drizzled::simplify_joins().
|
virtual |
This method like the walk method traverses the item tree, but at the same time it can replace some nodes in the tree.
Reimplemented from drizzled::Item.
Definition at line 110 of file default_value.cc.
References drizzled::Item::transform().
|
virtualinherited |
Make sure the null_value member has a correct value.
Reimplemented from drizzled::Item.
Definition at line 1176 of file field.cc.
References drizzled::Table::in_use, and drizzled::Item::update_null_value().
|
inlinevirtual |
Returns bit map of tables used by item
Reimplemented from drizzled::Item.
Definition at line 44 of file default_value.h.
|
virtualinherited |
Return boolean value of item.
false | value is false or NULL true value is true (not equal to 0) |
Reimplemented in drizzled::Item_in_subselect, drizzled::Item_exists_subselect, drizzled::Item_singlerow_subselect, drizzled::Item_func_truth, debug::Crash, debug::Backtrace, drizzled::Item_ref, debug::Assert, drizzled::item::Boolean, drizzled::Item_direct_ref, drizzled::Item_ref_null_helper, drizzled::utility_functions::Execute, drizzled::string_functions::Regex, and drizzled::utility_functions::Assert.
Definition at line 95 of file item.cc.
Referenced by drizzled::substitute_for_best_equal_field(), drizzled::Item_singlerow_subselect::val_bool(), drizzled::Item_func_if::val_decimal(), drizzled::Item_func_if::val_int(), drizzled::Item_func_if::val_real(), drizzled::function::cast::Boolean::val_str(), and drizzled::Item_func_if::val_str().
|
virtualinherited |
Return decimal representation of item with fixed point.
buffer | which can be used by Item for returning value (but can be not) |
Returned value should not be changed if it is not the same which was passed via argument.
Return | pointer on type::Decimal (it can be other then passed via argument) if value is not NULL (null_value flag will be reset to false). In case of NULL value it return 0 pointer and set null_value flag to true. |
Implements drizzled::Item.
Definition at line 248 of file field.cc.
References drizzled::Item::null_value.
|
virtualinherited |
Returns integer representation of item.
In | case of NULL value return 0 and set null_value flag to true. If value is not null null_value flag will be reset to false. |
Implements drizzled::Item.
Definition at line 239 of file field.cc.
References drizzled::Item::fixed, and drizzled::Item::null_value.
Referenced by drizzled::Item_field::val_int_endpoint().
|
virtualinherited |
Converts "func_arg $CMP$ const" half-interval into "FUNC(func_arg) $CMP2$ const2"
left_endp false <=> The interval is "x < const" or "x <= const" true <=> The interval is "x > const" or "x >= const"
incl_endp IN true <=> the comparison is '<' or '>' false <=> the comparison is '<=' or '>=' OUT The same but for the "F(x) $CMP$ F(const)" comparison
This function is defined only for unary monotonic functions. The caller supplies the source half-interval
x $CMP$ const
The value of const is supplied implicitly as the value this item's argument, the form of $CMP$ comparison is specified through the function's arguments. The calle returns the result interval
F(x) $CMP2$ F(const)
passing back F(const) as the return value, and the form of $CMP2$ through the out parameter. NULL values are assumed to be comparable and be less than any non-NULL values.
The | output range bound, which equal to the value of val_int()
|
Reimplemented from drizzled::Item.
Definition at line 434 of file field.cc.
References drizzled::Item::null_value, and drizzled::Item_field::val_int().
|
virtualinherited |
Returns double precision floating point representation of item.
In | case of NULL value return 0.0 and set null_value flag to true. If value is not null null_value flag will be reset to false. |
Implements drizzled::Item.
Definition at line 230 of file field.cc.
References drizzled::Item::fixed, and drizzled::Item::null_value.
Return string representation of this item object.
an | allocated buffer this or any nested Item object can use to store return value of this method. |
Buffer passed via argument should only be used if the item itself doesn't have an own String buffer. In case when the item maintains it's own string buffer, it's preferable to return it instead to minimize number of mallocs/memcpys.
The caller of this method can modify returned string, but only in case when it was allocated on heap, (is_alloced() is true). This allows the caller to efficiently use a buffer allocated by a child without having to allocate a buffer of it's own. The buffer, given to val_str() as argument, belongs to the caller and is later used by the caller at it's own choosing.
A few implications from the above:
In | case of NULL value return 0 (NULL pointer) and set null_value flag to true. If value is not null null_value flag will be reset to false. |
Implements drizzled::Item.
Definition at line 220 of file field.cc.
References drizzled::Item::fixed, drizzled::Item::null_value, and drizzled::Item::str_value.
|
inlineinherited |
|
inherited |
Comparison context
Definition at line 144 of file item.h.
Referenced by drizzled::Item_field::equal_fields_propagator(), drizzled::Item::Item(), and drizzled::Item_field::replace_equal_field().
|
inherited |
If item fixed with fix_fields
Definition at line 120 of file item.h.
Referenced by drizzled::add_ref_to_table_cond(), drizzled::statement::Kill::execute(), drizzled::find_order_in_list(), drizzled::Item_insert_value::fix_fields(), drizzled::Item_field::fix_fields(), drizzled::Item_ref::fix_fields(), drizzled::Item_field::fix_outer_field(), drizzled::Item_func_from_days::get_temporal(), drizzled::Item_func_last_day::get_temporal(), drizzled::Item_ref::is_null(), drizzled::Item_float::Item_float(), drizzled::Item_int::Item_int(), drizzled::Join::prepare(), drizzled::Item_in_subselect::row_value_in_to_exists_transformer(), drizzled::Item_in_subselect::select_in_like_transformer(), drizzled::Item_sum_distinct::setup(), drizzled::simplify_joins(), drizzled::Item_ref_null_helper::val_bool(), drizzled::Item_ref::val_bool(), drizzled::Item_exists_subselect::val_bool(), drizzled::Item_in_subselect::val_bool(), drizzled::Item_cache_decimal::val_decimal(), drizzled::Item_cache_real::val_decimal(), drizzled::Item_cache_int::val_decimal(), drizzled::Item_cache_str::val_decimal(), drizzled::Item_real_func::val_decimal(), drizzled::Item_func_get_user_var::val_decimal(), drizzled::Item_func_min_max::val_decimal(), drizzled::Item_ref_null_helper::val_decimal(), drizzled::Item_func_numhybrid::val_decimal(), drizzled::Item_float::val_decimal(), drizzled::Item_time::val_decimal(), drizzled::Item_func_set_user_var::val_decimal(), drizzled::function::cast::Time::val_decimal(), drizzled::Item_date::val_decimal(), drizzled::Item_date_func::val_decimal(), drizzled::Item_date_typecast::val_decimal(), drizzled::Item_func::val_decimal(), drizzled::Item_datetime_typecast::val_decimal(), drizzled::Item_exists_subselect::val_decimal(), drizzled::Item_in_subselect::val_decimal(), drizzled::Item_sum_avg::val_decimal(), drizzled::Item_func_dayofyear::val_int(), drizzled::Item_func_hour::val_int(), drizzled::Item_func_microsecond::val_int(), drizzled::Item_func_minute::val_int(), drizzled::Item_func_month::val_int(), drizzled::Item_func_period_add::val_int(), drizzled::Item_func_period_diff::val_int(), drizzled::Item_func_quarter::val_int(), drizzled::Item_func_second::val_int(), drizzled::Item_func_to_days::val_int(), drizzled::Item_func_year::val_int(), drizzled::Item_func_dayofmonth::val_int(), drizzled::Item_func_from_unixtime::val_int(), drizzled::Item_func_row_count::val_int(), drizzled::Item_func_elt::val_int(), drizzled::Item_func_found_rows::val_int(), drizzled::Item_cache_decimal::val_int(), drizzled::Item_func_weekday::val_int(), drizzled::Item_func_sign::val_int(), drizzled::Item_func_last_insert_id::val_int(), drizzled::Item_func_int_div::val_int(), drizzled::Item_func_ord::val_int(), drizzled::Item_func_unix_timestamp::val_int(), drizzled::Item_cache_real::val_int(), drizzled::Item_extract::val_int(), drizzled::Item_func_field::val_int(), drizzled::Item_cache_int::val_int(), drizzled::Item_cache_str::val_int(), drizzled::Item_func_locate::val_int(), drizzled::Item_func_find_in_set::val_int(), drizzled::Item_time::val_int(), drizzled::utility_functions::BitCount::val_int(), drizzled::utility_functions::GlobalReadLock::val_int(), drizzled::function::bit::Or::val_int(), drizzled::Item_real_func::val_int(), drizzled::Item_func_makedate::val_int(), drizzled::Item_date::val_int(), drizzled::Item_func_sysdate_local::val_int(), drizzled::Item_date_add_interval::val_int(), drizzled::Item_null::val_int(), drizzled::Item_func_min_max::val_int(), drizzled::Item_func_get_user_var::val_int(), drizzled::Item_ref_null_helper::val_int(), drizzled::Item_func_now::val_int(), drizzled::function::bit::And::val_int(), drizzled::Item_float::val_int(), drizzled::Item_func_numhybrid::val_int(), drizzled::Item_func_set_user_var::val_int(), drizzled::function::bit::ShiftLeft::val_int(), drizzled::Item_int::val_int(), drizzled::function::cast::Time::val_int(), drizzled::function::bit::ShiftRight::val_int(), drizzled::Item_field::val_int(), drizzled::Item_ref::val_int(), drizzled::function::bit::Neg::val_int(), drizzled::function::bit::Xor::val_int(), drizzled::Item_string::val_int(), drizzled::Item_date_typecast::val_int(), drizzled::Item_datetime_typecast::val_int(), drizzled::Item_singlerow_subselect::val_int(), drizzled::Item_exists_subselect::val_int(), drizzled::Item_in_subselect::val_int(), drizzled::Item_sum_num::val_int(), drizzled::Item_sum_sum::val_int(), drizzled::Item_sum_count::val_int(), drizzled::Item_sum_count_distinct::val_int(), drizzled::Item_func_in::val_int(), drizzled::Item_func_isnull::val_int(), drizzled::Item_is_not_null_test::val_int(), drizzled::Item_func_isnotnull::val_int(), drizzled::Item_func_like::val_int(), drizzled::Item_cond_and::val_int(), drizzled::Item_cond_or::val_int(), drizzled::Item_cond_xor::val_int(), drizzled::Item_func_year::val_int_endpoint(), drizzled::Item_func_to_days::val_int_endpoint(), drizzled::Item_func_elt::val_real(), drizzled::Item_cache_decimal::val_real(), drizzled::Item_func_acos::val_real(), drizzled::Item_uint::val_real(), drizzled::Item_func_pow::val_real(), drizzled::Item_func_sin::val_real(), drizzled::Item_func_cos::val_real(), drizzled::Item_func_tan::val_real(), drizzled::Item_func_log::val_real(), drizzled::Item_func_month::val_real(), drizzled::Item_func_sqrt::val_real(), drizzled::Item_hex_string::val_real(), drizzled::Item_func_asin::val_real(), drizzled::Item_func_atan::val_real(), drizzled::Item_func_ln::val_real(), drizzled::Item_func_exp::val_real(), drizzled::Item_func_units::val_real(), drizzled::Item_cache_real::val_real(), drizzled::Item_func_weekday::val_real(), drizzled::Item_cache_int::val_real(), drizzled::Item_cache_str::val_real(), drizzled::Item_func_sysdate_local::val_real(), drizzled::Item_int_func::val_real(), drizzled::Item_func_log2::val_real(), drizzled::Item_null::val_real(), drizzled::Item_func_min_max::val_real(), drizzled::Item_ref_null_helper::val_real(), drizzled::Item_func_get_user_var::val_real(), drizzled::Item_float::val_real(), drizzled::Item_func_numhybrid::val_real(), drizzled::Item_func_set_user_var::val_real(), drizzled::Item_func_log10::val_real(), drizzled::Item_int::val_real(), drizzled::Item_field::val_real(), drizzled::Item_ref::val_real(), drizzled::Item_string::val_real(), drizzled::Item_singlerow_subselect::val_real(), drizzled::Item_exists_subselect::val_real(), drizzled::Item_in_subselect::val_real(), drizzled::Item_sum_int::val_real(), drizzled::Item_sum_sum::val_real(), drizzled::Item_sum_avg::val_real(), drizzled::Item_sum_std::val_real(), drizzled::Item_func_set_collation::val_str(), drizzled::Item_func_binary::val_str(), drizzled::Item_func_collation::val_str(), drizzled::Item_func_makedate::val_str(), drizzled::Item_func_conv::val_str(), drizzled::Item_func_right::val_str(), drizzled::Item_func_left::val_str(), drizzled::Item_func_dayname::val_str(), drizzled::Item_func_quote::val_str(), drizzled::Item_func_elt::val_str(), drizzled::Item_cache_decimal::val_str(), drizzled::Item_func_from_unixtime::val_str(), drizzled::Item_uint::val_str(), drizzled::Item_func_char::val_str(), drizzled::utility_functions::Schema::val_str(), drizzled::Item_func_weekday::val_str(), drizzled::Item_cache_real::val_str(), drizzled::Item_typecast::val_str(), drizzled::Item_func_trim::val_str(), drizzled::Item_str_conv::val_str(), drizzled::Item_time::val_str(), drizzled::Item_func_rpad::val_str(), drizzled::utility_functions::Catalog::val_str(), drizzled::utility_functions::User::val_str(), drizzled::utility_functions::ResultType::val_str(), drizzled::utility_functions::GlobalReadLock::val_str(), drizzled::Item_date_add_interval::val_str(), drizzled::Item_real_func::val_str(), drizzled::Item_cache_str::val_str(), drizzled::Item_cache_int::val_str(), drizzled::Item_func_repeat::val_str(), drizzled::Item_date::val_str(), drizzled::Item_func_replace::val_str(), drizzled::utility_functions::Typeof::val_str(), drizzled::Item_func_make_set::val_str(), drizzled::Item_hex_string::val_str(), drizzled::Item_func_insert::val_str(), drizzled::function::cast::Time::val_str(), drizzled::Item_int_func::val_str(), drizzled::Item_func_sysdate_local::val_str(), drizzled::Item_null::val_str(), drizzled::Item_func_min_max::val_str(), drizzled::Item_ref_null_helper::val_str(), drizzled::Item_func_get_user_var::val_str(), drizzled::Item_func_now::val_str(), drizzled::Item_func_ltrim::val_str(), drizzled::Item_float::val_str(), drizzled::Item_func_numhybrid::val_str(), drizzled::Item_func_set_user_var::val_str(), drizzled::Item_func_lpad::val_str(), drizzled::Item_func_monthname::val_str(), drizzled::Item_func_rtrim::val_str(), drizzled::Item_int::val_str(), drizzled::Item_func_conv_charset::val_str(), drizzled::Item_field::val_str(), drizzled::Item_ref::val_str(), drizzled::Item_char_typecast::val_str(), drizzled::Item_string::val_str(), drizzled::Item_date_typecast::val_str(), drizzled::Item_datetime_typecast::val_str(), drizzled::Item_exists_subselect::val_str(), drizzled::Item_in_subselect::val_str(), and drizzled::Item_func_group_concat::val_str().
|
inherited |
indicates whether name of this Item was autogenerated or set by user
Definition at line 136 of file item.h.
Referenced by drizzled::Create_func_arg1::create(), drizzled::Create_func_arg2::create(), and drizzled::Create_func_arg3::create().
|
inherited |
True if item may be null
Definition at line 121 of file item.h.
Referenced by drizzled::calc_group_buffer(), drizzled::change_group_ref(), drizzled::create_tmp_field(), drizzled::create_tmp_field_from_field(), drizzled::create_tmp_field_from_item(), drizzled::end_update(), drizzled::Item_type_holder::join_types(), drizzled::SortParam::make_sortkey(), drizzled::Item::make_string_field(), drizzled::remove_eq_conds(), drizzled::Join::rollup_make_fields(), drizzled::Item_in_subselect::row_value_in_to_exists_transformer(), drizzled::Item_sum_distinct::setup(), drizzled::Item_in_subselect::single_value_in_to_exists_transformer(), drizzled::FileSort::sortlength(), drizzled::Item::tmp_table_field_from_field_type(), and drizzled::Item_is_not_null_test::update_used_tables().
|
inherited |
Name from select
Definition at line 110 of file item.h.
Referenced by drizzled::change_group_ref(), drizzled::check_simple_equality(), drizzled::create_func_cast(), drizzled::create_tmp_field(), drizzled::create_tmp_field_from_item(), drizzled::Item_field::eq(), drizzled::Item::eq(), drizzled::Item_ref::fix_fields(), drizzled::Item_float::Item_float(), drizzled::Item_int::Item_int(), drizzled::Item::make_string_field(), drizzled::Join::optimize(), drizzled::Item_ident::print(), drizzled::Item_ref::print(), drizzled::remove_additional_cond(), drizzled::Item_field::reset_field(), drizzled::resolve_ref_in_select_and_group(), drizzled::Item_in_subselect::row_value_in_to_exists_transformer(), drizzled::setup_copy_fields(), drizzled::Item_in_subselect::single_value_in_to_exists_transformer(), drizzled::Item::split_sum_func(), drizzled::Item::tmp_table_field_from_field_type(), drizzled::Item_decimal_typecast::val_decimal(), and drizzled::utility_functions::Catalog::val_str().
|
inherited |
|
inherited |
True if item is null
Definition at line 122 of file item.h.
Referenced by drizzled::Item_func_abs::decimal_op(), drizzled::Item_func_plus::decimal_op(), drizzled::Item_func_floor::decimal_op(), drizzled::Item_func_ceiling::decimal_op(), drizzled::Item_func_minus::decimal_op(), drizzled::Item_func_neg::decimal_op(), drizzled::field_is_equal_to_item(), drizzled::Item_func_from_unixtime::get_date(), drizzled::Item_date_add_interval::get_date(), drizzled::Item_ref_null_helper::get_date(), drizzled::Item_direct_ref::get_date(), drizzled::Item_ref::get_date(), drizzled::Item_field::get_date(), drizzled::Item_func_from_days::get_temporal(), drizzled::Item_func_last_day::get_temporal(), drizzled::Item_field::get_time(), drizzled::Item_date_typecast::get_time(), drizzled::TemporalInterval::initFromItem(), drizzled::Item_func_abs::int_op(), drizzled::Item_func_ceiling::int_op(), drizzled::Item_func_floor::int_op(), drizzled::Item_func_plus::int_op(), drizzled::Item_func_minus::int_op(), drizzled::Item_func_neg::int_op(), drizzled::Item_row::is_null(), drizzled::Item_copy_string::is_null(), drizzled::Item_func_numhybrid::is_null(), drizzled::Item_subselect::is_null(), drizzled::Item_func::is_null(), drizzled::Item_sum::is_null(), drizzled::Item_avg_field::is_null(), drizzled::Item_variance_field::is_null(), drizzled::SortParam::make_sortkey(), drizzled::Item_func_abs::real_op(), drizzled::Item_func_plus::real_op(), drizzled::Item_func_ceiling::real_op(), drizzled::Item_func_floor::real_op(), drizzled::Item_func_minus::real_op(), drizzled::Item_func_neg::real_op(), drizzled::Item_field::save_org_in_field(), drizzled::Item::send(), drizzled::Item_sum_distinct::setup(), drizzled::string_functions::Regex::val_bool(), drizzled::Item_direct_ref::val_bool(), drizzled::Item_ref_null_helper::val_bool(), drizzled::utility_functions::Execute::val_bool(), drizzled::Item_ref::val_bool(), drizzled::Item_singlerow_subselect::val_bool(), drizzled::Item_in_subselect::val_bool(), drizzled::Item_real_func::val_decimal(), drizzled::Item_decimal_typecast::val_decimal(), drizzled::Item_func_min_max::val_decimal(), drizzled::Item_func_get_user_var::val_decimal(), drizzled::Item_direct_ref::val_decimal(), drizzled::Item_ref_null_helper::val_decimal(), drizzled::Item_func_set_user_var::val_decimal(), drizzled::Item_copy_string::val_decimal(), drizzled::Item_ref::val_decimal(), drizzled::Item_field::val_decimal(), drizzled::Item_singlerow_subselect::val_decimal(), drizzled::Item_in_subselect::val_decimal(), drizzled::Item_sum_distinct::val_decimal(), drizzled::Item_sum_avg::val_decimal(), drizzled::Item_func_if::val_decimal(), drizzled::Item_func_case::val_decimal(), drizzled::Item_func_dayofyear::val_int(), drizzled::Item_func_hour::val_int(), drizzled::Item_func_microsecond::val_int(), drizzled::Item_func_minute::val_int(), drizzled::Item_func_month::val_int(), drizzled::Item_func_period_add::val_int(), drizzled::Item_func_period_diff::val_int(), drizzled::Item_func_quarter::val_int(), drizzled::Item_func_second::val_int(), drizzled::Item_func_to_days::val_int(), drizzled::Item_func_year::val_int(), drizzled::Item_func_dayofmonth::val_int(), drizzled::Item_func_elt::val_int(), drizzled::Item_func_last_insert_id::val_int(), drizzled::Item_func_int_div::val_int(), drizzled::Item_func_ord::val_int(), drizzled::Item_func_unix_timestamp::val_int(), drizzled::Item_func_weekday::val_int(), drizzled::Item_func_sign::val_int(), drizzled::Item_func_timestamp_diff::val_int(), user_locks::GetLock::val_int(), user_locks::GetLocks::val_int(), user_locks::IsFreeLock::val_int(), user_locks::IsUsedLock::val_int(), user_locks::ReleaseLock::val_int(), drizzled::Item_func_field::val_int(), user_locks::barriers::Wait::val_int(), drizzled::Item_extract::val_int(), user_locks::barriers::Release::val_int(), user_locks::barriers::WaitUntil::val_int(), user_locks::barriers::CreateBarrier::val_int(), user_locks::locks::ReleaseAndWait::val_int(), user_locks::barriers::Signal::val_int(), user_locks::locks::WaitFor::val_int(), drizzled::Item_func_locate::val_int(), plugin::catalog::functions::Create::val_int(), plugin::catalog::functions::Lock::val_int(), plugin::catalog::functions::Drop::val_int(), plugin::catalog::functions::Unlock::val_int(), drizzled::Item_func_find_in_set::val_int(), drizzled::function::cast::Unsigned::val_int(), drizzled::utility_functions::BitCount::val_int(), drizzled::function::bit::Or::val_int(), drizzled::function::cast::Signed::val_int(), drizzled::utility_functions::GlobalReadLock::val_int(), drizzled::Item_decimal_typecast::val_int(), drizzled::Item_func_makedate::val_int(), drizzled::Item_null::val_int(), drizzled::Item_func_min_max::val_int(), drizzled::Item_func_get_user_var::val_int(), drizzled::Item_direct_ref::val_int(), drizzled::Item_ref_null_helper::val_int(), drizzled::function::bit::And::val_int(), drizzled::Item_func_set_user_var::val_int(), drizzled::Item_copy_string::val_int(), drizzled::function::bit::ShiftLeft::val_int(), drizzled::function::bit::ShiftRight::val_int(), drizzled::Item_ref::val_int(), drizzled::Item_field::val_int(), drizzled::function::bit::Neg::val_int(), drizzled::function::bit::Xor::val_int(), drizzled::Item_date_typecast::val_int(), drizzled::Item_datetime_typecast::val_int(), drizzled::Item_singlerow_subselect::val_int(), drizzled::Item_in_subselect::val_int(), drizzled::Item_func_interval::val_int(), drizzled::Item_func_if::val_int(), drizzled::Item_func_case::val_int(), drizzled::Item_func_in::val_int(), drizzled::Item_func_like::val_int(), drizzled::Item_equal::val_int(), drizzled::Item_cond_and::val_int(), drizzled::Item_cond_or::val_int(), drizzled::Item_cond_xor::val_int(), drizzled::Item_func_to_days::val_int_endpoint(), drizzled::Item_field::val_int_endpoint(), drizzled::Item_func_elt::val_real(), drizzled::Item_func_cos::val_real(), drizzled::Item_func_sqrt::val_real(), drizzled::Item_func_atan::val_real(), drizzled::Item_func_exp::val_real(), drizzled::Item_func_log::val_real(), drizzled::Item_func_acos::val_real(), drizzled::Item_func_ln::val_real(), drizzled::Item_func_asin::val_real(), drizzled::Item_func_units::val_real(), drizzled::Item_func_tan::val_real(), drizzled::Item_func_sin::val_real(), drizzled::Item_func_pow::val_real(), drizzled::Item_decimal_typecast::val_real(), drizzled::Item_null::val_real(), drizzled::Item_func_log2::val_real(), drizzled::Item_func_min_max::val_real(), drizzled::Item_ref_null_helper::val_real(), drizzled::Item_func_get_user_var::val_real(), drizzled::Item_direct_ref::val_real(), drizzled::Item_copy_string::val_real(), drizzled::Item_func_set_user_var::val_real(), drizzled::Item_func_log10::val_real(), drizzled::Item_ref::val_real(), drizzled::Item_field::val_real(), drizzled::Item_singlerow_subselect::val_real(), drizzled::Item_in_subselect::val_real(), drizzled::Item_sum_avg::val_real(), drizzled::Item_func_if::val_real(), drizzled::Item_variance_field::val_real(), drizzled::Item_func_case::val_real(), drizzled::Item_func_set_collation::val_str(), drizzled::Item_func_collation::val_str(), drizzled::Item_func_binary::val_str(), drizzled::Item_func_makedate::val_str(), drizzled::Item_func_left::val_str(), drizzled::Item_func_right::val_str(), drizzled::Item_func_dayname::val_str(), drizzled::Item_func_conv::val_str(), drizzled::Item_func_elt::val_str(), drizzled::Item_func_quote::val_str(), drizzled::Item_func_month::val_str(), drizzled::Item_func_char::val_str(), drizzled::utility_functions::Schema::val_str(), drizzled::Item_typecast::val_str(), drizzled::Item_func_weekday::val_str(), drizzled::Item_func_trim::val_str(), drizzled::Item_str_conv::val_str(), drizzled::Item_func_rpad::val_str(), drizzled::utility_functions::User::val_str(), drizzled::utility_functions::ResultType::val_str(), drizzled::utility_functions::GlobalReadLock::val_str(), drizzled::Item_real_func::val_str(), drizzled::Item_decimal_typecast::val_str(), drizzled::function::cast::Boolean::val_str(), drizzled::Item_func_repeat::val_str(), drizzled::Item_func_make_set::val_str(), drizzled::utility_functions::Typeof::val_str(), drizzled::Item_func_replace::val_str(), drizzled::Item_func_insert::val_str(), drizzled::function::cast::Time::val_str(), drizzled::Item_int_func::val_str(), drizzled::Item_null::val_str(), drizzled::Item_func_min_max::val_str(), drizzled::Item_ref_null_helper::val_str(), drizzled::Item_direct_ref::val_str(), drizzled::Item_func_get_user_var::val_str(), drizzled::Item_func_ltrim::val_str(), drizzled::Item_func_numhybrid::val_str(), drizzled::Item_func_set_user_var::val_str(), drizzled::Item_func_lpad::val_str(), drizzled::Item_func_monthname::val_str(), drizzled::Item_func_rtrim::val_str(), drizzled::Item_copy_string::val_str(), drizzled::Item_func_conv_charset::val_str(), drizzled::Item_field::val_str(), drizzled::Item_ref::val_str(), drizzled::Item_char_typecast::val_str(), drizzled::Item_date_typecast::val_str(), drizzled::Item_datetime_typecast::val_str(), drizzled::Item_singlerow_subselect::val_str(), drizzled::Item_in_subselect::val_str(), drizzled::Item_sum_distinct::val_str(), drizzled::Item_func_if::val_str(), and drizzled::Item_func_group_concat::val_str().
|
inherited |
str_values's main purpose is to be used to cache the value in save_in_field
Definition at line 107 of file item.h.
Referenced by adaptive_flushing_method_validate(), drizzled::Create_func_space::create(), drizzled::Item_hex_string::eq(), drizzled::Item_string::eq(), innodb_change_buffering_validate(), innodb_file_format_max_validate(), innodb_file_format_name_validate(), drizzled::Item_func_set_collation::print(), drizzled::Item_uint::print(), drizzled::Item_decimal::print(), drizzled::Item_int::print(), drizzled::Item_string::print(), read_ahead_validate(), drizzled::remove_constants(), drizzled::Item_num::safe_charset_converter(), drizzle_plugin::update_file(), drizzled::Item_func_numhybrid::val_decimal(), drizzled::Item_copy_string::val_decimal(), drizzled::Item_func_numhybrid::val_int(), drizzled::Item_copy_string::val_int(), drizzled::Item_string::val_int(), drizzled::Item_func_group_concat::val_int(), drizzled::Item_copy_string::val_real(), drizzled::Item_func_numhybrid::val_real(), drizzled::Item_string::val_real(), drizzled::Item_func_group_concat::val_real(), drizzled::Item_hex_string::val_str(), drizzled::Item_func_sysdate_local::val_str(), drizzled::Item_func_now::val_str(), drizzled::Item_func_numhybrid::val_str(), drizzled::Item_copy_string::val_str(), drizzled::Item_func_conv_charset::val_str(), drizzled::Item_field::val_str(), drizzled::Item_char_typecast::val_str(), and drizzled::Item_string::val_str().
|
inherited |
If this item is a subselect or some of its arguments is or contains a subselect. Computed by fix_fields.
Definition at line 142 of file item.h.
Referenced by drizzled::remove_constants(), drizzled::Item_is_not_null_test::update_used_tables(), drizzled::Item_func_isnull::val_int(), and drizzled::Item_is_not_null_test::val_int().