Build indexes on a table by reading a clustered index, creating a temporary file containing index entries, merge sorting these index entries and inserting sorted index entries to indexes.  
 More...
#include <ddl0impl-loader.h>
Build indexes on a table by reading a clustered index, creating a temporary file containing index entries, merge sorting these index entries and inserting sorted index entries to indexes. 
 
◆ Loader()
◆ ~Loader()
◆ add_task()
  
  
      
        
          | void Loader::add_task  | 
          ( | 
          Task  | 
          task | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Add a task to the task queue. 
- Parameters
 - 
  
  
 
 
 
◆ build_all()
Build the read instance. 
- Returns
 - DB_SUCCESS or error code. 
 
 
 
◆ load()
Load the indexes. 
- Returns
 - DB_SUCCESS or error code. 
 
 
 
◆ prepare()
Prepare to build and load the indexes. 
- Returns
 - DB_SUCCESS or error code. 
 
 
 
◆ scan_and_build_indexes()
  
  
      
        
          | dberr_t Loader::scan_and_build_indexes  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privatenoexcept   | 
  
 
Scan and build the indexes. 
- Returns
 - DB_SUCCESS or error code. 
 
 
 
◆ validate_indexes()
  
  
      
        
          | bool Loader::validate_indexes  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Validate the indexes (except FTS). 
- Returns
 - true on success. 
 
 
 
◆ m_builders
◆ m_ctx
DDL context, shared by the loader threads. 
 
 
◆ m_taskq
The documentation for this class was generated from the following files: