Drizzled Public API Documentation

Item_func_gman_do_background Class Reference
Inheritance diagram for Item_func_gman_do_background:
Item_func_gman_do drizzled::Item_str_func drizzled::Item_func drizzled::Item_result_field drizzled::Item drizzled::memory::SqlAlloc

List of all members.

Public Types

enum  Functype {
  UNKNOWN_FUNC, EQ_FUNC, EQUAL_FUNC, NE_FUNC,
  LT_FUNC, LE_FUNC, GE_FUNC, GT_FUNC,
  LIKE_FUNC, ISNULL_FUNC, ISNOTNULL_FUNC, COND_AND_FUNC,
  COND_OR_FUNC, COND_XOR_FUNC, BETWEEN, IN_FUNC,
  MULT_EQUAL_FUNC, INTERVAL_FUNC, ISNOTNULLTEST_FUNC, NOT_FUNC,
  NOT_ALL_FUNC, NOW_FUNC, TRIG_COND_FUNC, SUSERVAR_FUNC,
  GUSERVAR_FUNC, COLLATE_FUNC, EXTRACT_FUNC, CHAR_TYPECAST_FUNC,
  FUNC_SP, NEG_FUNC
}
enum  optimize_type {
  OPTIMIZE_NONE, OPTIMIZE_KEY, OPTIMIZE_OP, OPTIMIZE_NULL,
  OPTIMIZE_EQUAL
}
enum  Type {
  FIELD_ITEM = 0, FUNC_ITEM, SUM_FUNC_ITEM, STRING_ITEM,
  INT_ITEM, REAL_ITEM, NULL_ITEM, VARBIN_ITEM,
  COPY_STR_ITEM, FIELD_AVG_ITEM, DEFAULT_VALUE_ITEM, PROC_ITEM,
  COND_ITEM, REF_ITEM, FIELD_STD_ITEM, FIELD_VARIANCE_ITEM,
  INSERT_VALUE_ITEM, SUBSELECT_ITEM, ROW_ITEM, CACHE_ITEM,
  TYPE_HOLDER, PARAM_ITEM, BOOLEAN_ITEM, DECIMAL_ITEM
}
enum  traverse_order { T_POSTFIX, T_PREFIX }
enum  cond_result { COND_UNDEF, COND_OK, COND_TRUE, COND_FALSE }

Public Member Functions

const char * func_name () const
void fix_length_and_dec ()
drizzled::Stringval_str (drizzled::String *)
void * realloc (size_t size)
int64_t val_int ()
double val_real ()
type::Decimal * val_decimal (type::Decimal *)
enum Item_result result_type () const
void left_right_max_length ()
bool fix_fields (Session *session, Item **ref)
enum Type type () const
virtual enum Functype functype () const
void fix_after_pullout (Select_Lex *new_parent, Item **ref)
table_map used_tables () const
table_map not_null_tables () const
void update_used_tables ()
bool eq (const Item *item, bool binary_cmp) const
virtual optimize_type select_optimize () const
virtual bool have_rev_func () const
virtual Item * key_item () const
virtual bool const_item () const
Item ** arguments () const
void set_arguments (List< Item > &list)
uint32_t argument_count () const
void remove_arguments ()
virtual bool check_argument_count (int)
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 print (String *str)
void print_op (String *str)
void print_args (String *str, uint32_t from)
virtual void fix_num_length_and_dec ()
void count_only_length ()
void count_real_length ()
void count_decimal_length ()
bool get_arg0_date (type::Time &ltime, uint32_t fuzzy_date)
bool get_arg0_time (type::Time &ltime)
bool is_null ()
virtual bool deterministic () const
void signal_divide_by_null ()
virtual Field * tmp_table_field ()
virtual Field * tmp_table_field (Table *t_arg)
Item * get_tmp_table_item (Session *session)
bool agg_arg_collations (DTCollation &c, Item **items, uint32_t nitems, uint32_t flags)
bool agg_arg_collations_for_comparison (DTCollation &c, Item **items, uint32_t nitems, uint32_t flags)
bool agg_arg_charsets (DTCollation &c, Item **items, uint32_t nitems, uint32_t flags, int item_sep)
bool walk (Item_processor processor, bool walk_subquery, unsigned char *arg)
Item * transform (Item_transformer transformer, unsigned char *arg)
Item * compile (Item_analyzer analyzer, unsigned char **arg_p, Item_transformer transformer, unsigned char *arg_t)
void traverse_cond (Cond_traverser traverser, void *arg, traverse_order order)
double fix_result (double value)
Session & getSession ()
Session * getSessionPtr ()
Field * get_tmp_table_field ()
void set_result_field (Field *field)
bool is_result_field ()
void save_in_result_field (bool no_conversions)
void cleanup ()
bool is_unsigned () const
virtual bool negative () const
void set_name (const std::string &arg)
void set_name (const char *str, uint32_t length, const CHARSET_INFO *const cs=system_charset_info)
void rename (char *new_name)
void init_make_field (SendField *tmp_field, enum enum_field_types type)
virtual void make_field (SendField *field)
Field * make_string_field (Table *table)
void quick_fix_field ()
virtual int save_in_field (Field *field, bool no_conversions)
virtual void save_org_in_field (Field *field)
virtual int save_safe_in_field (Field *field)
virtual bool send (plugin::Client *client, String *str)
virtual Item_result cast_to_int_type () const
virtual enum_field_types string_field_type () const
virtual enum_field_types field_type () const
virtual int64_t val_int_endpoint (bool left_endp, bool *incl_endp)
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 const char * full_name (void) const
virtual double val_result ()
virtual int64_t val_int_result ()
virtual String * str_result (String *tmp)
virtual type::Decimal * val_decimal_result (type::Decimal *val)
virtual bool val_bool_result ()
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_during_execution () const
void print_item_w_name (String *)
virtual bool get_date (type::Time &ltime, uint32_t fuzzydate)
virtual bool get_time (type::Time &ltime)
virtual bool get_date_result (type::Time &ltime, uint32_t fuzzydate)
virtual void update_null_value ()
virtual void top_level_item (void)
virtual bool is_bool_func (void)
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 * compare_collation ()
virtual bool remove_dependence_processor (unsigned char *arg)
virtual bool remove_fixed (unsigned char *arg)
virtual bool collect_item_field_processor (unsigned char *arg)
virtual bool find_item_in_field_list_processor (unsigned char *arg)
virtual bool change_context_processor (unsigned char *context)
virtual bool register_field_in_read_map (unsigned char *arg)
virtual bool subst_argument_checker (unsigned char **arg)
virtual bool cache_const_expr_analyzer (unsigned char **arg)
virtual Item * cache_const_expr_transformer (unsigned char *arg)
virtual Item * equal_fields_propagator (unsigned char *arg)
virtual bool set_no_const_sub (unsigned char *arg)
virtual Item * replace_equal_field (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)
virtual Item * update_value_transformer (unsigned char *select_arg)
virtual Item * safe_charset_converter (const CHARSET_INFO *const tocs)
void delete_self ()
virtual bool result_as_int64_t ()
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 *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_length_and_charset (uint32_t max_char_length_arg, CHARSET_INFO *cs)
void fix_char_length (uint32_t max_char_length_arg)
void fix_char_length_uint64_t (uint64_t max_char_length_arg)
void fix_length_and_charset_datetime (uint32_t max_char_length_arg)

Static Public Member Functions

static const CHARSET_INFO * default_charset ()
static void * operator new (size_t size)
static void * operator new (size_t size, Root *mem_root)
static void * operator new[] (size_t size)
static void * operator new[] (size_t size, Root *mem_root)
static void operator delete (void *, size_t)
static void operator delete (void *, Root *)
static void operator delete[] (void *, Root *)
static void operator delete[] (void *, size_t)

Public Attributes

uint32_t arg_count
table_map used_tables_cache
table_map not_null_tables_cache
bool const_item_cache
Field * result_field
String str_value
char * name
uint32_t name_length
char * orig_name
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 Types

enum  gman_do_options_t {
  GMAN_DO_OPTIONS_NONE = 0, GMAN_DO_OPTIONS_HIGH = (1 << 0), GMAN_DO_OPTIONS_LOW = (1 << 1), GMAN_DO_OPTIONS_BACKGROUND = (1 << 2),
  GMAN_DO_OPTIONS_CLIENT = (1 << 3)
}

Protected Attributes

Item ** args
Item * tmp_arg [2]
uint32_t allowed_arg_cols

Detailed Description

Definition at line 70 of file gman_do.h.


Member Function Documentation

bool drizzled::Item::cache_const_expr_analyzer ( unsigned char **  arg) [virtual, inherited]

Check if an item is a constant one and can be cached.

Parameters:
arg[out] TRUE <=> Cache this item.
Returns:
TRUE Go deeper in item tree.
FALSE Don't go deeper in item tree.

Definition at line 1307 of file item.cc.

References drizzled::Item::basic_const_item(), and drizzled::Item::const_item().

Referenced by drizzled::Join::cache_const_exprs().

Item * drizzled::Item::cache_const_expr_transformer ( unsigned char *  arg) [virtual, inherited]

Cache item if needed.

Parameters:
argTRUE <=> Cache this item.
Returns:
cache if cache needed.
this otherwise.

Definition at line 1342 of file item.cc.

Referenced by drizzled::Join::cache_const_exprs().

virtual bool drizzled::Item_func::check_argument_count ( int  ) [inline, virtual, inherited]

Check if the UDF supports the number of arguments passed in

Parameters:
numberof args

Reimplemented in ClearEngineStateHistoryFunction, QueryCacheFlushFunction, SEAPITesterErrorInjectFunc, debug::Assert, rot13::Function, MemcachedServersSet, MemcachedAddByKey, MemcachedAdd, MemcachedAppend, MemcachedAppendByKey, MemcachedPrependByKey, Item_func_sleep, UnHexFunction, MemcachedReplaceByKey, ConnectionIdFunction, MemcachedPrepend, MemcachedReplace, MemcachedCas, MemcachedCasByKey, MemcachedDelete, MemcachedSetByKey, PrintQueryCacheMetaFunction, drizzled::utility_functions::Execute, MemcachedDeleteByKey, ShowSchemaProtoFunction, MemcachedSet, HexdumpTransactionMessageFunction, PrintTransactionMessageFunction, SubstrIndexFunction, drizzled::utility_functions::Assert, CoercibilityFunction, Crc32Function, drizzled::Item_func_log10, Md5Function, drizzled::utility_functions::Kill, HailDBDatadictDumpFunction, drizzled::string_functions::Regex, BenchmarkFunction, AsciiFunction, CharLengthFunction, RandFunction, LengthFunction, drizzled::utility_functions::Typeof, HexFunction, drizzle_plugin::udf::Syslog, drizzled::Item_func_log2, drizzled::utility_functions::ResultType, SubstrFunction, VersionFunction, ReverseFunction, drizzled::Item_func_quote, plugin::catalog::functions::Create, plugin::catalog::functions::Drop, plugin::catalog::functions::Lock, plugin::catalog::functions::Unlock, drizzled::Item_func_abs, drizzled::Item_func_format, user_locks::barriers::CreateBarrier, user_locks::barriers::Release, user_locks::locks::ReleaseAndWait, user_locks::barriers::Signal, user_locks::barriers::Wait, user_locks::locks::WaitFor, user_locks::barriers::WaitUntil, drizzled::Item_func_ceiling, drizzled::Item_func_floor, drizzled::Item_func_elt, user_locks::GetLock, user_locks::IsFreeLock, user_locks::IsUsedLock, user_locks::ReleaseLock, user_locks::ReleaseLocks, drizzled::Item_func_ord, drizzled::Item_func_acos, drizzled::Item_func_asin, drizzled::Item_func_atan, drizzled::Item_func_cos, drizzled::Item_func_exp, drizzled::Item_func_ln, drizzled::Item_func_log, drizzled::Item_func_pow, drizzled::Item_func_sin, drizzled::Item_func_sqrt, Item_func_compress, Item_func_uncompressed_length, Item_func_uncompress, and drizzle_plugin::MySQLPassword.

Definition at line 122 of file func.h.

Referenced by drizzled::Create_udf_func::create().

Item * drizzled::Item_func::compile ( Item_analyzer  analyzer,
unsigned char **  arg_p,
Item_transformer  transformer,
unsigned char *  arg_t 
) [virtual, inherited]

Compile Item_func object with a processor and a transformer callback functions.

First the function applies the analyzer to the root node of the Item_func object. Then if the analizer succeeeds (returns true) the function recursively applies the compile method to each argument of the Item_func node. If the call of the method for an argument item returns a new item the old item is substituted for a new one. After this the transformer is applied to the root node of the Item_func object.

Parameters:
analyzerthe analyzer callback function to be applied to the nodes of the tree of the object
[in,out]arg_pparameter to be passed to the processor
transformerthe transformer callback function to be applied to the nodes of the tree of the object
arg_tparameter to be passed to the transformer
Returns:
Item returned as the result of transformation of the root node

Reimplemented from drizzled::Item.

Reimplemented in drizzled::Item_cond.

Definition at line 391 of file func.cc.

References drizzled::Item::compile().

Referenced by drizzled::Join::cache_const_exprs().

virtual bool drizzled::Item::const_during_execution ( ) const [inline, virtual, inherited]

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.

Definition at line 537 of file item.h.

virtual bool drizzled::Item_func::const_item ( ) const [inline, virtual, inherited]

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 from drizzled::Item.

Reimplemented in drizzled::Item_func_trig_cond, drizzled::Item_func_get_user_var, drizzled::Item_func_rollup_const, RandFunction, and drizzled::Item_func_sysdate_local.

Definition at line 112 of file func.h.

Referenced by drizzled::Item_equal::print(), drizzled::Item_func_like::select_optimize(), and drizzled::Item_equal::val_int().

Set max_length/decimals of function if function is fixed point and result length/precision depends on argument ones.

Definition at line 644 of file func.cc.

Set max_length of if it is maximum length of its arguments.

Definition at line 665 of file func.cc.

Set max_length/decimals of function if function is floating point and result length/precision depends on argument ones.

Definition at line 682 of file func.cc.

Referenced by drizzled::Item_num_op::find_num_type().

bool drizzled::Item_func::eq ( const Item item,
bool  binary_cmp 
) const [virtual, inherited]

Compares this Item to another Item, returning true if Item's are functionally equal.

This function is called when:

  • Comparing items in the WHERE clause (when doing where optimization)
  • When trying to find an order_st BY/GROUP BY item in the SELECT part

Reimplemented from drizzled::Item.

Reimplemented in drizzled::Item_func_opt_neg, drizzled::Item_char_typecast, drizzled::Item_func_get_user_var, drizzled::Item_date_add_interval, drizzled::Item_func_date_format, drizzled::Item_extract, and drizzled::Item_func_set_collation.

Definition at line 487 of file func.cc.

Referenced by drizzled::Item_date_add_interval::eq().

bool drizzled::Item::eq_by_collation ( Item item,
bool  binary_cmp,
const CHARSET_INFO *const  cs 
) [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.

Parameters:
Pointerto the item to compare with
Compareas binary?
Pointerto the collation to use when comparing strings
Return values:
trueif compared items has been detected as equal
falseotherwise

Definition at line 1127 of file item.cc.

References drizzled::Item::eq().

void drizzled::Item_func::fix_after_pullout ( Select_Lex *  new_parent,
Item **  ref 
) [virtual, inherited]

Fix after some tables has been pulled out. Basically re-calculate all attributes that are dependent on the tables.

Reimplemented from drizzled::Item.

Reimplemented in drizzled::Item_cond.

Definition at line 267 of file func.cc.

References drizzled::Item::const_item(), drizzled::Item::not_null_tables(), and drizzled::Item::used_tables().

bool drizzled::Item::get_time ( type::Time ltime) [virtual, inherited]

Get time of first argument.

As a extra convenience the time structure is reset on error!

Reimplemented in drizzled::Item_date_typecast, drizzled::Item_field, and drizzled::function::cast::Time.

Definition at line 520 of file item.cc.

References drizzled::Item::val_str().

Referenced by drizzled::Item::send().

bool drizzled::Item::is_expensive ( ) [virtual, inherited]

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.

Todo:

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 724 of file item.cc.

Referenced by drizzled::Join::optimize().

Field * drizzled::Item::make_string_field ( Table table) [inherited]

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)

Parameters:
tableTable for which the field is created

Definition at line 1149 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().

void drizzled::Item::no_rows_in_result ( void  ) [virtual, inherited]
table_map drizzled::Item_func::not_null_tables ( ) const [virtual, inherited]

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 from drizzled::Item.

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_func_concat_ws, CoercibilityFunction, and drizzled::Item_func_collation.

Definition at line 446 of file func.cc.

void drizzled::Item_func::print ( String str) [virtual, inherited]
void drizzled::Item::quick_fix_field ( ) [inline, inherited]

Should be used in case where we are sure that we do not need complete fix_fields() procedure.

Definition at line 241 of file item.h.

Referenced by drizzled::build_equal_items_for_cond(), drizzled::check_row_equality(), drizzled::check_simple_equality(), and drizzled::eliminate_item_equal().

void drizzled::Item::rename ( char *  new_name) [inherited]

Renames item (used for views, cleanup() return original name).

Parameters:
new_namenew name of item;

Definition at line 394 of file item.cc.

References drizzled::Item::name, and drizzled::Item::orig_name.

bool drizzled::Item::result_as_int64_t ( ) [virtual, inherited]

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 in drizzled::Item_datetime_typecast, drizzled::Item_ref, drizzled::Item_date_typecast, drizzled::Item_field, drizzled::Item_date_func, drizzled::Item_date, drizzled::function::cast::Time, drizzled::Item_func_min_max, and drizzled::Item_cache_int.

Definition at line 719 of file item.cc.

Referenced by drizzled::FileSort::sortlength().

int drizzled::Item::save_str_value_in_field ( Field field,
String result 
) [inherited]

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

See also:
Item_string::save_in_field() implementation for example
Parameters:
Pointerto field where to store
Pointerto the string value to be stored
Return values:
Nonzerovalue if error

Check if the Item is null and stores the NULL or the result value in the field accordingly.

Definition at line 274 of file item.cc.

bool drizzled::Item::send ( plugin::Client client,
String str 
) [virtual, inherited]
void drizzled::Item_result_field::set_result_field ( Field field) [inline, virtual, inherited]

Sets field of temporary table for Item which can be switched on temporary table during query processing (grouping and so on)

Reimplemented from drizzled::Item.

Definition at line 52 of file bin_string.h.

void drizzled::Item_func::split_sum_func ( Session session,
Item **  ref_pointer_array,
List< Item > &  fields 
) [virtual, inherited]

See comments in Item_cmp_func::split_sum_func()

Reimplemented from drizzled::Item.

Reimplemented in drizzled::Item_cond, and drizzled::Item_func_make_set.

Definition at line 418 of file func.cc.

void drizzled::Item::split_sum_func ( Session session,
Item **  ref_pointer_array,
List< Item > &  fields,
Item **  ref,
bool  skip_registered 
) [inherited]

Move SUM items out from item tree and replace with reference.

Parameters:
sessionThread handler
ref_pointer_arrayPointer to array of reference fields
fieldsAll fields in select
refPointer to item
skip_registered<=> function be must skipped for registered SUM items
Note:
This is from split_sum_func() for items that should be split

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 753 of file item.cc.

References drizzled::Item::name, and drizzled::Item::used_tables().

Field * drizzled::Item::tmp_table_field_from_field_type ( Table table,
bool  fixed_length 
) [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

Return values:
NULLerror
\::Created field

Definition at line 1170 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().

void drizzled::Item::top_level_item ( void  ) [virtual, inherited]

Inform the item that there will be no distinction between its result being false or NULL.

Note:

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 550 of file item.cc.

Referenced by drizzled::Join::optimize(), and drizzled::Item_in_subselect::row_value_in_to_exists_transformer().

Item * drizzled::Item_func::transform ( Item_transformer  transformer,
unsigned char *  argument 
) [virtual, inherited]

Transform an Item_func object with a transformer callback function.

The function recursively applies the transform method to each argument of the Item_func node. If the call of the method for an argument item returns a new item the old item is substituted for a new one. After this the transformer is applied to the root node of the Item_func object.

Parameters:
transformerthe transformer callback function to be applied to the nodes of the tree of the object
argumentparameter to be passed to the transformer
Returns:
Item returned as the result of transformation of the root node

Reimplemented from drizzled::Item.

Reimplemented in drizzled::Item_equal, drizzled::Item_cond, drizzled::Item_in_optimizer, and drizzled::Item_func_make_set.

Definition at line 350 of file func.cc.

References drizzled::Item::transform().

table_map drizzled::Item_func::used_tables ( ) const [virtual, inherited]

Returns bit map of tables used by item

Reimplemented from drizzled::Item_result_field.

Reimplemented in drizzled::Item_cond, drizzled::Item_is_not_null_test, drizzled::Item_func_trig_cond, and drizzled::Item_func_get_user_var.

Definition at line 440 of file func.cc.

Referenced by drizzled::Join::optimize().

type::Decimal * drizzled::Item_str_func::val_decimal ( type::Decimal decimal_buffer) [virtual, inherited]

Return decimal representation of item with fixed point.

Parameters:
bufferwhich can be used by Item for returning value (but can be not)
Note:

Returned value should not be changed if it is not the same which was passed via argument.

Return values:
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.

Reimplemented from drizzled::Item_func.

Reimplemented in drizzled::Item_datetime_typecast, drizzled::Item_date_typecast, drizzled::Item_date_func, and drizzled::function::cast::Time.

Definition at line 56 of file strfunc.cc.

References drizzled::type::Decimal::store().

int64_t drizzled::Item::val_int_endpoint ( bool  left_endp,
bool *  incl_endp 
) [virtual, inherited]

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.

Return values:
The output range bound, which equal to the value of val_int()
  • If the value of the function is NULL then the bound is the smallest possible value of INT64_MIN

Reimplemented in drizzled::Item_field, drizzled::Item_func_to_days, and drizzled::Item_func_year.

Definition at line 88 of file item.cc.

double drizzled::Item_str_func::val_real ( ) [virtual, inherited]

Returns double precision floating point representation of item.

Return values:
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.

Reimplemented in drizzled::Item_datetime_typecast, drizzled::Item_date_typecast, drizzled::Item_date_func, drizzled::function::cast::Time, drizzled::Item_func_sysdate_local, and drizzled::Item_func_elt.

Definition at line 71 of file strfunc.cc.

String * Item_func_gman_do::val_str ( drizzled::String str) [virtual, inherited]

Return string representation of this item object.

Parameters:
anallocated buffer this or any nested Item object can use to store return value of this method.
Note:

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:

  • unless you return a string object which only points to your buffer but doesn't manages it you should be ready that it will be modified.
  • even for not allocated strings (is_alloced() == false) the caller can change charset (see Item_func_{typecast/binary}. XXX: is this a bug?
  • still you should try to minimize data copying and return internal object whenever possible.
Return values:
Incase 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 38 of file gman_do.cc.

uint64_t drizzled::Item::val_uint ( ) [inline, inherited]

This is just a shortcut to avoid the cast. You should still use unsigned_flag to check the sign of the item.

Definition at line 343 of file item.h.


Member Data Documentation

Item_result drizzled::Item::cmp_context [inherited]
bool drizzled::Item::fixed [inherited]

If item fixed with fix_fields

Definition at line 150 of file item.h.

Referenced by drizzled::add_ref_to_table_cond(), drizzled::statement::Kill::execute(), drizzled::find_order_in_list(), drizzled::Item_default_value::fix_fields(), 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::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_real::val_decimal(), drizzled::Item_real_func::val_decimal(), drizzled::Item_cache_str::val_decimal(), drizzled::Item_cache_decimal::val_decimal(), drizzled::Item_cache_int::val_decimal(), drizzled::Item_func_min_max::val_decimal(), drizzled::Item_ref_null_helper::val_decimal(), drizzled::Item_func_get_user_var::val_decimal(), drizzled::Item_func_numhybrid::val_decimal(), drizzled::Item_float::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_diff::val_int(), drizzled::Item_func_quarter::val_int(), drizzled::Item_func_second::val_int(), drizzled::Item_func_period_add::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_elt::val_int(), drizzled::Item_func_row_count::val_int(), drizzled::Item_func_found_rows::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_sign::val_int(), drizzled::Item_func_weekday::val_int(), drizzled::Item_cache_real::val_int(), drizzled::Item_extract::val_int(), drizzled::Item_func_field::val_int(), drizzled::Item_func_locate::val_int(), drizzled::Item_func_find_in_set::val_int(), drizzled::Item_cache_str::val_int(), drizzled::Item_cache_decimal::val_int(), drizzled::function::bit::Or::val_int(), drizzled::utility_functions::BitCount::val_int(), drizzled::utility_functions::GlobalReadLock::val_int(), drizzled::Item_real_func::val_int(), drizzled::Item_cache_int::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_now::val_int(), drizzled::Item_ref_null_helper::val_int(), drizzled::function::bit::And::val_int(), drizzled::Item_func_get_user_var::val_int(), drizzled::Item_func_numhybrid::val_int(), drizzled::Item_float::val_int(), drizzled::function::bit::ShiftLeft::val_int(), drizzled::Item_func_set_user_var::val_int(), drizzled::Item_int::val_int(), drizzled::function::cast::Time::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::Item_string::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_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_func_tan::val_real(), drizzled::Item_func_sqrt::val_real(), drizzled::Item_func_ln::val_real(), drizzled::Item_func_log::val_real(), drizzled::Item_func_acos::val_real(), drizzled::Item_func_sin::val_real(), drizzled::Item_func_exp::val_real(), drizzled::Item_func_pow::val_real(), drizzled::Item_func_atan::val_real(), drizzled::Item_func_asin::val_real(), drizzled::Item_func_cos::val_real(), drizzled::Item_func_month::val_real(), drizzled::Item_cache_real::val_real(), drizzled::Item_hex_string::val_real(), drizzled::Item_uint::val_real(), drizzled::Item_func_weekday::val_real(), drizzled::Item_func_units::val_real(), drizzled::Item_cache_str::val_real(), drizzled::Item_cache_decimal::val_real(), drizzled::Item_cache_int::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_func_numhybrid::val_real(), drizzled::Item_float::val_real(), drizzled::Item_func_log10::val_real(), drizzled::Item_func_set_user_var::val_real(), drizzled::Item_int::val_real(), drizzled::Item_ref::val_real(), drizzled::Item_field::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_makedate::val_str(), drizzled::Item_func_collation::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_binary::val_str(), drizzled::Item_func_quote::val_str(), drizzled::Item_func_from_unixtime::val_str(), drizzled::Item_func_elt::val_str(), drizzled::Item_func_char::val_str(), drizzled::Item_func_trim::val_str(), drizzled::Item_uint::val_str(), drizzled::Item_str_conv::val_str(), drizzled::utility_functions::Schema::val_str(), drizzled::Item_func_rpad::val_str(), drizzled::Item_func_weekday::val_str(), drizzled::Item_cache_real::val_str(), drizzled::Item_typecast::val_str(), drizzled::utility_functions::User::val_str(), drizzled::utility_functions::ResultType::val_str(), drizzled::Item_real_func::val_str(), drizzled::Item_date_add_interval::val_str(), drizzled::utility_functions::Catalog::val_str(), drizzled::utility_functions::GlobalReadLock::val_str(), drizzled::Item_cache_decimal::val_str(), drizzled::Item_func_repeat::val_str(), drizzled::Item_cache_str::val_str(), drizzled::Item_func_replace::val_str(), drizzled::Item_date::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::Item_cache_int::val_str(), drizzled::Item_int_func::val_str(), drizzled::function::cast::Time::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_now::val_str(), drizzled::Item_func_ltrim::val_str(), drizzled::Item_func_get_user_var::val_str(), drizzled::Item_func_numhybrid::val_str(), drizzled::Item_float::val_str(), drizzled::Item_func_lpad::val_str(), drizzled::Item_func_set_user_var::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_string::val_str(), drizzled::Item_char_typecast::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().

indicates whether name of this Item was autogenerated or set by user

Definition at line 166 of file item.h.

Referenced by drizzled::Create_func_arg1::create(), drizzled::Create_func_arg2::create(), drizzled::Create_func_arg3::create(), and drizzled::has_named_parameters().

uint32_t drizzled::Item::name_length [inherited]

Length of name

Definition at line 141 of file item.h.

bool drizzled::Item::null_value [inherited]

True if item is null

Definition at line 152 of file item.h.

Referenced by drizzled::Item_func_abs::decimal_op(), drizzled::Item_func_plus::decimal_op(), drizzled::Item_func_ceiling::decimal_op(), drizzled::Item_func_floor::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_ceiling::real_op(), drizzled::Item_func_floor::real_op(), drizzled::Item_func_plus::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::utility_functions::Execute::val_bool(), drizzled::Item_direct_ref::val_bool(), drizzled::Item_ref_null_helper::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_direct_ref::val_decimal(), drizzled::Item_ref_null_helper::val_decimal(), drizzled::Item_func_get_user_var::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(), user_locks::IsFreeLock::val_int(), drizzled::Item_func_timestamp_diff::val_int(), user_locks::GetLock::val_int(), user_locks::GetLocks::val_int(), user_locks::IsUsedLock::val_int(), user_locks::ReleaseLock::val_int(), drizzled::Item_func_field::val_int(), user_locks::locks::ReleaseAndWait::val_int(), drizzled::Item_extract::val_int(), user_locks::barriers::WaitUntil::val_int(), user_locks::barriers::CreateBarrier::val_int(), user_locks::barriers::Release::val_int(), user_locks::barriers::Signal::val_int(), user_locks::barriers::Wait::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::function::cast::Signed::val_int(), drizzled::function::bit::Or::val_int(), drizzled::utility_functions::BitCount::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_direct_ref::val_int(), drizzled::Item_ref_null_helper::val_int(), drizzled::function::bit::And::val_int(), drizzled::Item_func_get_user_var::val_int(), drizzled::Item_copy_string::val_int(), drizzled::function::bit::ShiftLeft::val_int(), drizzled::Item_func_set_user_var::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_pow::val_real(), drizzled::Item_func_sqrt::val_real(), drizzled::Item_func_atan::val_real(), drizzled::Item_func_ln::val_real(), drizzled::Item_func_acos::val_real(), drizzled::Item_func_cos::val_real(), drizzled::Item_func_exp::val_real(), drizzled::Item_func_tan::val_real(), drizzled::Item_func_asin::val_real(), drizzled::Item_func_log::val_real(), drizzled::Item_func_sin::val_real(), drizzled::Item_func_units::val_real(), drizzled::Item_decimal_typecast::val_real(), drizzled::Item_func_log2::val_real(), drizzled::Item_null::val_real(), drizzled::Item_func_min_max::val_real(), drizzled::Item_direct_ref::val_real(), drizzled::Item_ref_null_helper::val_real(), drizzled::Item_copy_string::val_real(), drizzled::Item_func_get_user_var::val_real(), drizzled::Item_func_log10::val_real(), drizzled::Item_func_set_user_var::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_collation::val_str(), drizzled::Item_func_makedate::val_str(), drizzled::Item_func_set_collation::val_str(), drizzled::Item_func_dayname::val_str(), drizzled::Item_func_left::val_str(), drizzled::Item_func_right::val_str(), drizzled::Item_func_binary::val_str(), drizzled::Item_func_conv::val_str(), drizzled::Item_func_quote::val_str(), drizzled::Item_func_from_unixtime::val_str(), drizzled::Item_func_elt::val_str(), drizzled::Item_func_char::val_str(), drizzled::Item_str_conv::val_str(), drizzled::utility_functions::Schema::val_str(), drizzled::Item_func_month::val_str(), drizzled::Item_func_trim::val_str(), drizzled::Item_func_weekday::val_str(), drizzled::Item_func_rpad::val_str(), drizzled::utility_functions::ResultType::val_str(), drizzled::utility_functions::User::val_str(), drizzled::Item_real_func::val_str(), drizzled::Item_decimal_typecast::val_str(), drizzled::function::cast::Boolean::val_str(), drizzled::utility_functions::GlobalReadLock::val_str(), drizzled::Item_typecast::val_str(), drizzled::Item_func_repeat::val_str(), drizzled::Item_date::val_str(), drizzled::Item_func_replace::val_str(), drizzled::Item_func_make_set::val_str(), drizzled::utility_functions::Typeof::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_ltrim::val_str(), drizzled::Item_func_get_user_var::val_str(), drizzled::Item_func_numhybrid::val_str(), drizzled::Item_func_lpad::val_str(), drizzled::Item_func_monthname::val_str(), drizzled::Item_func_set_user_var::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().

char* drizzled::Item::orig_name [inherited]

Original item name (if it was renamed)

Definition at line 144 of file item.h.

Referenced by drizzled::Item::rename().

If this item is a subselect or some of its arguments is or contains a subselect. Computed by fix_fields.

Definition at line 172 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().


The documentation for this class was generated from the following file: