|
My Project
|
Public Member Functions | |
| Field_short (uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, enum utype unireg_check_arg, const char *field_name_arg, bool zero_arg, bool unsigned_arg) | |
| Field_short (uint32 len_arg, bool maybe_null_arg, const char *field_name_arg, bool unsigned_arg) | |
| enum Item_result | result_type () const |
| enum_field_types | type () const |
| enum ha_base_keytype | key_type () const |
| type_conversion_status | store (const char *to, uint length, const CHARSET_INFO *charset) |
| type_conversion_status | store (double nr) |
| type_conversion_status | store (longlong nr, bool unsigned_val) |
| type_conversion_status | reset (void) |
| double | val_real (void) |
| longlong | val_int (void) |
| String * | val_str (String *, String *) |
| bool | send_binary (Protocol *protocol) |
| int | cmp (const uchar *, const uchar *) |
| void | make_sort_key (uchar *buff, uint length) |
| uint32 | pack_length () const |
| void | sql_type (String &str) const |
| uint32 | max_display_length () |
| Field_short * | clone (MEM_ROOT *mem_root) const |
| Field_short * | clone () const |
| virtual uchar * | pack (uchar *to, const uchar *from, uint max_length, bool low_byte_first) |
| virtual const uchar * | unpack (uchar *to, const uchar *from, uint param_data, bool low_byte_first) |
| Field_short* Field_short::clone | ( | MEM_ROOT * | mem_root | ) | const [inline, virtual] |
Makes a shallow copy of the Field object.
| mem_root | MEM_ROOT to use for memory allocation. |
| NULL | If memory allocation failed. |
Implements Field.
| Field_short* Field_short::clone | ( | ) | const [inline, virtual] |
Makes a shallow copy of the Field object.
| NULL | If memory allocation failed. |
Implements Field.
| void Field_short::make_sort_key | ( | uchar * | buff, |
| uint | length | ||
| ) | [virtual] |
Writes a copy of the current value in the record buffer, suitable for sorting using byte-by-byte comparison. Integers are always in big-endian regardless of hardware architecture. At most length bytes are written into the buffer.
| buff | The buffer, assumed to be at least length bytes. |
| length | Number of bytes to write. |
Implements Field.
| virtual uchar* Field_short::pack | ( | uchar * | to, |
| const uchar * | from, | ||
| uint | max_length, | ||
| bool | low_byte_first | ||
| ) | [inline, virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from Field.
| virtual const uchar* Field_short::unpack | ( | uchar * | to, |
| const uchar * | from, | ||
| uint | param_data, | ||
| bool | low_byte_first | ||
| ) | [inline, virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from Field.
1.7.6.1