MySQL 8.4.2
Source Code Documentation
|
Callback thread context for each of the spawned threads. More...
Public Member Functions | |
Thread_ctx () | |
Constructor. More... | |
~Thread_ctx ()=default | |
Destructor. More... | |
Public Attributes | |
size_t | m_n_read {} |
Number of records read. More... | |
size_t | m_n_sent {} |
Number of records sent to the adapter. More... | |
size_t | m_partition_id {std::numeric_limits<size_t>::max()} |
Partition ID for the records in buffer. More... | |
std::vector< byte, ut::allocator< byte > > | m_buffer |
Buffer to store records to be sent to the adapter. More... | |
Callback thread context for each of the spawned threads.
Parallel_reader_adapter::Thread_ctx::Thread_ctx | ( | ) |
Constructor.
|
default |
Destructor.
std::vector<byte, ut::allocator<byte> > Parallel_reader_adapter::Thread_ctx::m_buffer |
Buffer to store records to be sent to the adapter.
size_t Parallel_reader_adapter::Thread_ctx::m_n_read {} |
Number of records read.
size_t Parallel_reader_adapter::Thread_ctx::m_n_sent {} |
Number of records sent to the adapter.
size_t Parallel_reader_adapter::Thread_ctx::m_partition_id {std::numeric_limits<size_t>::max()} |
Partition ID for the records in buffer.
Must be set when adding more records to be sent i.e. while incrementing m_n_read.