Class that caches RTree index tuples made from a single cluster index page scan, and then insert into corresponding index tree.  
 More...
#include <ddl0impl-rtree.h>
 | 
| void  | deep_copy_tuples (Tuples::iterator it) noexcept | 
|   | Deep copy the fields pointing to the clustered index record.  More...
  | 
|   | 
Class that caches RTree index tuples made from a single cluster index page scan, and then insert into corresponding index tree. 
 
◆ Tuples
Cache index rows made from a cluster index scan. 
Usually for rows on single cluster index page 
 
 
◆ RTree_inserter()
Constructor. 
- Parameters
 - 
  
    | [in,out] | ctx | DDL context.  | 
    | [in] | index | Index to be created  | 
  
   
 
 
◆ ~RTree_inserter()
  
  
      
        
          | ddl::RTree_inserter::~RTree_inserter  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
 
◆ add_to_batch()
  
  
      
        
          | void ddl::RTree_inserter::add_to_batch  | 
          ( | 
          const dtuple_t *  | 
          row,  | 
         
        
           | 
           | 
          const row_ext_t *  | 
          ext  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
noexcept   | 
  
 
Caches an index row into index tuple vector. 
- Parameters
 - 
  
    | [in] | row | Table row  | 
    | [in] | ext | Externally stored column prefixes, or nullptr  | 
  
   
 
 
◆ batch_insert()
Insert the rows cached in the batch (m_dtuples). 
- Parameters
 - 
  
    | [in] | trx_id | Transaction id.  | 
    | [in,out] | latch_release | Called when a log free check is required.  | 
  
   
- Returns
 - DB_SUCCESS if successful, else error number 
 
 
 
◆ deep_copy_tuples() [1/2]
  
  
      
        
          | void ddl::RTree_inserter::deep_copy_tuples  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinenoexcept   | 
  
 
Deep copy the fields pointing to the clustered index record. 
 
 
◆ deep_copy_tuples() [2/2]
  
  
      
        
          | void ddl::RTree_inserter::deep_copy_tuples  | 
          ( | 
          Tuples::iterator  | 
          it | ) | 
           | 
         
       
   | 
  
privatenoexcept   | 
  
 
Deep copy the fields pointing to the clustered index record. 
- Parameters
 - 
  
    | [in] | it | Deep copy from this tuple onwards.  | 
  
   
 
 
◆ get_index()
Get the index instance. 
- Returns
 - the index instance. 
 
 
 
◆ is_initialized()
  
  
      
        
          | bool ddl::RTree_inserter::is_initialized  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinenoexcept   | 
  
 
- Returns
 - true if initialization succeeded . 
 
 
 
◆ m_ctx
  
  
      
        
          | Context& ddl::RTree_inserter::m_ctx | 
         
       
   | 
  
private   | 
  
 
 
◆ m_dml_heap
Memory heap for inserting the tuples. 
 
 
◆ m_dtuple_heap
Memory heap for creating index tuples. 
 
 
◆ m_dtuples
  
  
      
        
          | Tuples* ddl::RTree_inserter::m_dtuples {} | 
         
       
   | 
  
private   | 
  
 
vector used to cache index rows made from cluster index scan 
 
 
◆ m_index
◆ m_iter
  
  
      
        
          | Tuples::iterator ddl::RTree_inserter::m_iter {} | 
         
       
   | 
  
private   | 
  
 
Iterator to process m_dtuples. 
 
 
The documentation for this class was generated from the following files: