MySQL 8.0.40
Source Code Documentation
Sdi_Compressor Class Reference

Compress SDI using zlib. More...

#include <dict0sdi.h>

Public Member Functions

 Sdi_Compressor (uint32_t src_len, const void *sdi)
 
 ~Sdi_Compressor ()
 
void compress ()
 Compress the SDI. More...
 
const byteget_data () const
 
uint32_t get_src_len () const
 
uint32_t get_comp_len () const
 

Private Attributes

uint32_t m_src_len
 Length of uncompressed SDI. More...
 
uint32_t m_comp_len
 Length of compressed SDI. More...
 
const void * m_sdi
 Uncompressed SDI. More...
 
bytem_comp_sdi
 Compressed SDI. More...
 

Detailed Description

Compress SDI using zlib.

Constructor & Destructor Documentation

◆ Sdi_Compressor()

Sdi_Compressor::Sdi_Compressor ( uint32_t  src_len,
const void *  sdi 
)
inline

◆ ~Sdi_Compressor()

Sdi_Compressor::~Sdi_Compressor ( )
inline

Member Function Documentation

◆ compress()

void Sdi_Compressor::compress ( )
inline

Compress the SDI.

◆ get_comp_len()

uint32_t Sdi_Compressor::get_comp_len ( ) const
inline
Returns
length of compressed SDI

◆ get_data()

const byte * Sdi_Compressor::get_data ( ) const
inline
Returns
compressed SDI record

◆ get_src_len()

uint32_t Sdi_Compressor::get_src_len ( ) const
inline
Returns
length of uncompressed SDI

Member Data Documentation

◆ m_comp_len

uint32_t Sdi_Compressor::m_comp_len
private

Length of compressed SDI.

◆ m_comp_sdi

byte* Sdi_Compressor::m_comp_sdi
private

Compressed SDI.

◆ m_sdi

const void* Sdi_Compressor::m_sdi
private

Uncompressed SDI.

◆ m_src_len

uint32_t Sdi_Compressor::m_src_len
private

Length of uncompressed SDI.


The documentation for this class was generated from the following file: