My Project
Public Member Functions
Item_time_func Class Reference

#include <item_timefunc.h>

Inheritance diagram for Item_time_func:
Item_temporal_func Item_func Item_result_field Item Item_func_curtime Item_func_maketime Item_func_sec_to_time Item_func_timediff Item_time_literal Item_time_typecast Item_func_curtime_local Item_func_curtime_utc

List of all members.

Public Member Functions

 Item_time_func (Item *a)
 Item_time_func (Item *a, Item *b)
 Item_time_func (Item *a, Item *b, Item *c)
enum_field_types field_type () const
double val_real ()
my_decimalval_decimal (my_decimal *decimal_value)
type_conversion_status save_in_field (Field *field, bool no_conversions)
longlong val_int ()
longlong val_time_temporal ()
bool get_date (MYSQL_TIME *res, uint fuzzy_date)
Stringval_str (String *str)
virtual bool get_time (MYSQL_TIME *res)=0

Detailed Description

Abstract class for functions returning TIME values.


Member Function Documentation

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

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

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

Reimplemented from Item.

longlong Item_time_func::val_time_temporal ( ) [virtual]

Return time value of item in packed longlong format.

Reimplemented from Item.

Reimplemented in Item_func_curtime, and Item_time_literal.


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