MySQL 8.0.39
Source Code Documentation
|
#include <rpl_context.h>
Public Types | |
using | Compressor_ptr_t = std::shared_ptr< Compressor_t > |
using | Managed_buffer_sequence_t = Compressor_t::Managed_buffer_sequence_t |
Public Member Functions | |
Transaction_compression_ctx (PSI_memory_key key) | |
Compressor_ptr_t | get_compressor (THD *session) |
Return the compressor. More... | |
Managed_buffer_sequence_t & | managed_buffer_sequence () |
Return reference to the buffer sequence holding compressed bytes. More... | |
Private Types | |
using | Compressor_t = binary_log::transaction::compression::Compressor |
using | Grow_calculator_t = mysqlns::buffer::Grow_calculator |
using | Factory_t = binary_log::transaction::compression::Factory |
Private Attributes | |
Managed_buffer_sequence_t | m_managed_buffer_sequence |
Compressor_ptr_t | m_compressor |
using Transaction_compression_ctx::Compressor_ptr_t = std::shared_ptr<Compressor_t> |
|
private |
|
private |
using Transaction_compression_ctx::Managed_buffer_sequence_t = Compressor_t::Managed_buffer_sequence_t |
|
explicit |
Transaction_compression_ctx::Compressor_ptr_t Transaction_compression_ctx::get_compressor | ( | THD * | session | ) |
Return the compressor.
This constructs the compressor on the first invocation and returns the same compressor on subsequent invocations.
Transaction_compression_ctx::Managed_buffer_sequence_t & Transaction_compression_ctx::managed_buffer_sequence | ( | ) |
Return reference to the buffer sequence holding compressed bytes.
|
private |
|
private |