MySQL 8.4.2
Source Code Documentation
|
Column metadata information. More...
#include <bulk_data_service.h>
Public Types | |
enum class | Compare { INTEGER_SIGNED , INTEGER_UNSIGNED , BINARY , MYSQL } |
Data comparison method. More... | |
Public Member Functions | |
bool | is_integer () const |
Public Attributes | |
int | m_type |
Field type. More... | |
bool | m_is_nullable |
If column could be NULL. More... | |
bool | m_is_key |
If column is part of primary key. More... | |
bool | m_is_desc_key |
If the key is descending. More... | |
bool | m_is_prefix_key |
If the key is prefix of the column. More... | |
bool | m_is_fixed_len |
If it is fixed length type. More... | |
Compare | m_compare |
If it is integer type. More... | |
bool | m_is_unsigned |
If it is unsigned integer type. More... | |
bool | m_fixed_len_if_set_in_row |
Check the row header to find out if it is fixed length. More... | |
bool | m_is_single_byte_len |
If character column length can be kept in one byte. More... | |
uint16_t | m_fixed_len |
The length of column data if fixed. More... | |
uint16_t | m_max_len |
Maximum length of data in bytes. More... | |
uint16_t | m_index |
Index of column in row. More... | |
uint16_t | m_null_byte |
Byte index in NULL bitmap. More... | |
uint16_t | m_null_bit |
BIT number in NULL bitmap. More... | |
const void * | m_charset |
Character set for char & varchar columns. More... | |
Column metadata information.
|
strong |
|
inline |
const void* Column_meta::m_charset |
Character set for char & varchar columns.
Compare Column_meta::m_compare |
If it is integer type.
uint16_t Column_meta::m_fixed_len |
The length of column data if fixed.
bool Column_meta::m_fixed_len_if_set_in_row |
Check the row header to find out if it is fixed length.
For character data type the row header indicates fixed length.
uint16_t Column_meta::m_index |
Index of column in row.
bool Column_meta::m_is_desc_key |
If the key is descending.
bool Column_meta::m_is_fixed_len |
If it is fixed length type.
bool Column_meta::m_is_key |
If column is part of primary key.
bool Column_meta::m_is_nullable |
If column could be NULL.
bool Column_meta::m_is_prefix_key |
If the key is prefix of the column.
bool Column_meta::m_is_single_byte_len |
If character column length can be kept in one byte.
bool Column_meta::m_is_unsigned |
If it is unsigned integer type.
uint16_t Column_meta::m_max_len |
Maximum length of data in bytes.
uint16_t Column_meta::m_null_bit |
BIT number in NULL bitmap.
uint16_t Column_meta::m_null_byte |
Byte index in NULL bitmap.
int Column_meta::m_type |
Field type.