MySQL 9.1.0
Source Code Documentation
|
Type properties, used to collect type information for later assignment to an Item object. More...
#include <item.h>
Public Member Functions | |
Type_properties (enum_field_types type_arg) | |
Constructor for any signed numeric type or date type Defaults are provided for attributes like signedness and max length. More... | |
Type_properties (enum_field_types type_arg, bool unsigned_arg) | |
Constructor for any numeric type, with explicit signedness. More... | |
Type_properties (enum_field_types type_arg, const CHARSET_INFO *charset) | |
Constructor for character type, with explicit character set. More... | |
Type_properties (Item &item) | |
Constructor for Item. More... | |
Public Attributes | |
const enum_field_types | m_type |
const bool | m_unsigned_flag |
const uint32 | m_max_length |
const DTCollation | m_collation |
Type properties, used to collect type information for later assignment to an Item object.
The object stores attributes signedness, max length and collation. However, precision and scale (for decimal numbers) and fractional second precision (for time and datetime) are not stored, since any type derived from this object will have default values for these attributes.
|
inline |
Constructor for any signed numeric type or date type Defaults are provided for attributes like signedness and max length.
|
inline |
Constructor for any numeric type, with explicit signedness.
|
inline |
Constructor for character type, with explicit character set.
Default length/max length is provided.
Type_properties::Type_properties | ( | Item & | item | ) |
Constructor for Item.
const DTCollation Type_properties::m_collation |
const uint32 Type_properties::m_max_length |
const enum_field_types Type_properties::m_type |
const bool Type_properties::m_unsigned_flag |