MySQL 8.0.40
Source Code Documentation
|
State of a cluster index reader thread. More...
Public Member Functions | |
Thread_ctx (size_t id, Key_sort_buffer *key_buffer) noexcept | |
Constructor. More... | |
~Thread_ctx () noexcept | |
Destructor. More... | |
Public Attributes | |
size_t | m_id {} |
Thread ID. More... | |
Key_sort_buffer * | m_key_buffer {} |
Key sort buffer. More... | |
size_t | m_n_recs {} |
Total number of records added to the key sort buffer. More... | |
ddl::file_t | m_file {} |
Merge file handle. More... | |
ut::unique_ptr_aligned< byte[]> | m_aligned_buffer {} |
Buffer to use for file writes. More... | |
IO_buffer | m_io_buffer |
Buffer to use for file writes. More... | |
Merge_offsets | m_offsets {} |
Record list starting offset in the output file. More... | |
RTree_inserter * | m_rtree_inserter {} |
For spatial/Rtree rows handling. More... | |
State of a cluster index reader thread.
|
explicitnoexcept |
Constructor.
[in] | id | Thread state ID. |
[in,out] | key_buffer | Buffer for building the target index. Note, the thread state will own the key buffer and is responsible for deleting it. |
|
noexcept |
Destructor.
ut::unique_ptr_aligned<byte[]> ddl::Builder::Thread_ctx::m_aligned_buffer {} |
Buffer to use for file writes.
ddl::file_t ddl::Builder::Thread_ctx::m_file {} |
Merge file handle.
size_t ddl::Builder::Thread_ctx::m_id {} |
Thread ID.
IO_buffer ddl::Builder::Thread_ctx::m_io_buffer |
Buffer to use for file writes.
Key_sort_buffer* ddl::Builder::Thread_ctx::m_key_buffer {} |
Key sort buffer.
size_t ddl::Builder::Thread_ctx::m_n_recs {} |
Total number of records added to the key sort buffer.
Merge_offsets ddl::Builder::Thread_ctx::m_offsets {} |
Record list starting offset in the output file.
RTree_inserter* ddl::Builder::Thread_ctx::m_rtree_inserter {} |
For spatial/Rtree rows handling.