Column metadata information.
More...
#include <bulk_data_service.h>
Column metadata information.
◆ Compare
Data comparison method.
Enumerator |
---|
INTEGER_SIGNED | |
INTEGER_UNSIGNED | |
BINARY | |
MYSQL | |
◆ can_be_stored_externally()
bool Column_meta::can_be_stored_externally |
( |
| ) |
const |
|
inline |
Based on the column data type check if it can be stored externally.
- Returns
- true if the column data can be stored externally
-
false if the column data cannot be stored externally
◆ get_type_string()
std::string Column_meta::get_type_string |
( |
| ) |
const |
|
inline |
◆ is_integer()
bool Column_meta::is_integer |
( |
| ) |
const |
|
inline |
- Returns
- true if integer type.
◆ print()
std::ostream & Column_meta::print |
( |
std::ostream & |
out | ) |
const |
|
inline |
Print this object into the given output stream.
- Parameters
-
[in] | out | output stream into which object will be printed |
- Returns
- given output stream.
◆ m_charset
const void* Column_meta::m_charset |
Character set for char & varchar columns.
◆ m_compare
◆ m_field_name
std::string Column_meta::m_field_name |
◆ m_fixed_len
uint16_t Column_meta::m_fixed_len |
The length of column data if fixed.
◆ m_fixed_len_if_set_in_row
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.
◆ m_index
uint16_t Column_meta::m_index |
◆ m_is_desc_key
bool Column_meta::m_is_desc_key |
If the key is descending.
◆ m_is_fixed_len
bool Column_meta::m_is_fixed_len |
If it is fixed length type.
◆ m_is_key
bool Column_meta::m_is_key |
If column is part of primary key.
◆ m_is_nullable
bool Column_meta::m_is_nullable |
◆ m_is_prefix_key
bool Column_meta::m_is_prefix_key |
If the key is prefix of the column.
◆ m_is_single_byte_len
bool Column_meta::m_is_single_byte_len |
If character column length can be kept in one byte.
◆ m_is_unsigned
bool Column_meta::m_is_unsigned |
If it is unsigned integer type.
◆ m_max_len
uint16_t Column_meta::m_max_len |
Maximum length of data in bytes.
◆ m_null_bit
uint16_t Column_meta::m_null_bit |
BIT number in NULL bitmap.
◆ m_null_byte
uint16_t Column_meta::m_null_byte |
Byte index in NULL bitmap.
◆ m_type
The documentation for this struct was generated from the following file: