Row metadata.  
 More...
#include <bulk_data_service.h>
◆ Key_type
Key type for fast comparison. 
| Enumerator | 
|---|
| INT_SIGNED_ASC  |  | 
| INT  |  | 
| ANY  |  | 
 
 
◆ get_column_meta()
  
  
      
        
          | const Column_meta & Row_meta::get_column_meta  | 
          ( | 
          size_t  | 
          col_index | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the meta data of the column. 
- Parameters
 - 
  
    | [in] | col_index | the index of the column as it appears in CSV file.  | 
  
   
- Returns
 - a reference to the column meta data. 
 
 
 
◆ get_column_meta_index_order()
  
  
      
        
          | const Column_meta & Row_meta::get_column_meta_index_order  | 
          ( | 
          size_t  | 
          col_index | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the metadata of the given column. 
- Parameters
 - 
  
    | [in] | col_index | position of the column in the index.  | 
  
   
- Returns
 - metadata of the requested column. 
 
 
 
◆ to_string()
  
  
      
        
          | std::string Row_meta::to_string  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get a string representation of this Row_meta object. 
- See also
 - Row_meta 
 
- Returns
 - string representation of this object. 
 
 
 
◆ dbrowid_is_pk
      
        
          | bool Row_meta::dbrowid_is_pk {false} | 
        
      
 
true if DB_ROW_ID is the pk, false otherwise. 
 
 
◆ is_pk
      
        
          | bool Row_meta::is_pk {false} | 
        
      
 
true if primary key, false if secondary key. 
 
 
◆ m_approx_row_len
      
        
          | size_t Row_meta::m_approx_row_len = 0 | 
        
      
 
 
◆ m_bitmap_length
      
        
          | size_t Row_meta::m_bitmap_length = 0 | 
        
      
 
Total bitmap header length for the row. 
 
 
◆ m_columns
All columns in a row are arranged with key columns first. 
 
 
◆ m_columns_text_order
      
        
          | std::vector<const Column_meta *> Row_meta::m_columns_text_order | 
        
      
 
All columns in a row arranged as per col_index. 
 
 
◆ m_first_key_len
      
        
          | 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. 
 
 
◆ m_header_length
      
        
          | size_t Row_meta::m_header_length = 0 | 
        
      
 
 
◆ m_key_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. 
 
 
◆ m_key_type
◆ m_keys
      
        
          | uint32_t Row_meta::m_keys = 0 | 
        
      
 
Number of columns used in primary key. 
 
 
◆ m_n_blob_cols
      
        
          | size_t Row_meta::m_n_blob_cols {0} | 
        
      
 
Number of columns that can be stored externally. 
 
 
◆ m_name
      
        
          | std::string Row_meta::m_name | 
        
      
 
 
◆ m_non_keys
      
        
          | uint32_t Row_meta::m_non_keys = 0 | 
        
      
 
Number of columns not used in primary Key. 
 
 
◆ m_num_columns
      
        
          | 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 
 
 
The documentation for this struct was generated from the following file: