MySQL 8.4.2
Source Code Documentation
ddl::Loader::Task Struct Reference

Builder task. More...

#include <ddl0impl-loader.h>

Public Member Functions

 Task ()=default
 Constructor. More...
 
 Task (Builder *builder)
 Constructor. More...
 
 Task (Builder *builder, size_t thread_id)
 Constructor. More...
 
dberr_t operator() () noexcept
 Do the operation. More...
 

Private Attributes

Builderm_builder {}
 Builder instance. More...
 
size_t m_thread_id {std::numeric_limits<size_t>::max()}
 Thread state index. More...
 

Friends

class Loader
 

Detailed Description

Builder task.

Constructor & Destructor Documentation

◆ Task() [1/3]

ddl::Loader::Task::Task ( )
default

Constructor.

◆ Task() [2/3]

ddl::Loader::Task::Task ( Builder builder)
inlineexplicit

Constructor.

Parameters
[in,out]builderBuilder that performs the operation.

◆ Task() [3/3]

ddl::Loader::Task::Task ( Builder builder,
size_t  thread_id 
)
inlineexplicit

Constructor.

Parameters
[in,out]builderBuilder that performs the operation.
[in]thread_idIndex value of the thread_state to work on.

Member Function Documentation

◆ operator()()

dberr_t ddl::Loader::Task::operator() ( void  )
noexcept

Do the operation.

Returns
DB_SUCCESS or error code.

Friends And Related Function Documentation

◆ Loader

friend class Loader
friend

Member Data Documentation

◆ m_builder

Builder* ddl::Loader::Task::m_builder {}
private

Builder instance.

◆ m_thread_id

size_t ddl::Loader::Task::m_thread_id {std::numeric_limits<size_t>::max()}
private

Thread state index.


The documentation for this struct was generated from the following files: