MySQL 8.4.2
Source Code Documentation
|
Row metadata. More...
#include <bulk_data_service.h>
Public Types | |
enum class | Key_type { INT_SIGNED_ASC , INT , ANY } |
Key type for fast comparison. More... | |
Public Attributes | |
std::vector< Column_meta > | m_columns |
All columns in a row are arranged with key columns first. More... | |
size_t | m_bitmap_length = 0 |
Total bitmap header length for the row. More... | |
size_t | m_header_length = 0 |
Total header length. More... | |
size_t | m_first_key_len = 0 |
Length of the first key column. More... | |
size_t | m_key_length = 0 |
Key length in bytes for non-integer keys. More... | |
uint32_t | m_keys = 0 |
Number of columns used in primary key. More... | |
uint32_t | m_non_keys = 0 |
Number of columns not used in primary Key. More... | |
Key_type | m_key_type = Key_type::ANY |
Key type for comparison. More... | |
uint32_t | m_num_columns = 0 |
Total number of columns. More... | |
size_t | m_approx_row_len = 0 |
Approximate row length. More... | |
Row metadata.
|
strong |
size_t Row_meta::m_approx_row_len = 0 |
Approximate row length.
size_t Row_meta::m_bitmap_length = 0 |
Total bitmap header length for the row.
std::vector<Column_meta> Row_meta::m_columns |
All columns in a row are arranged with key columns first.
size_t Row_meta::m_first_key_len = 0 |
Length of the first key column.
Helps to get the row pointer from first key data pointer.
size_t Row_meta::m_header_length = 0 |
Total header length.
size_t Row_meta::m_key_length = 0 |
Key length in bytes for non-integer keys.
This is required to estimate the space required to save keys.
Key_type Row_meta::m_key_type = Key_type::ANY |
Key type for comparison.
uint32_t Row_meta::m_keys = 0 |
Number of columns used in primary key.
uint32_t Row_meta::m_non_keys = 0 |
Number of columns not used in primary Key.
uint32_t Row_meta::m_num_columns = 0 |
Total number of columns.
A key could be on a column prefix. m_columns <= m_keys + m_non_keys