MySQL 9.0.0
Source Code Documentation
mysql::binlog::event::compression Namespace Reference

Namespaces

namespace  buffer
 

Classes

class  Compressor
 Abstract base class for compressors. More...
 
class  Decompressor
 Abstract base class for decompressors. More...
 
class  Factory
 
class  None_comp
 Compressor subclass that only copies input to output without compressing it. More...
 
class  None_dec
 Decompressor subclass that only copies input to output without decompressing it. More...
 
class  Payload_event_buffer_istream
 Stream class that yields a stream of byte buffers, each holding the raw decompressed data of one event contained in a Transaction_payload_log_event. More...
 
class  Zstd_comp
 Compressor class that uses the ZSTD library. More...
 
class  Zstd_dec
 Decompressor class that uses the ZSTD library. More...
 

Typedefs

using Compress_status = mysql::binlog::event::compression::buffer::Grow_status
 

Enumerations

enum  type { ZSTD = 0 , NONE = 255 }
 
enum class  Decompress_status {
  success , out_of_memory , exceeds_max_size , truncated ,
  corrupted , end
}
 

Functions

std::string type_to_string (type t)
 
template<class T >
bool type_is_valid (T t)
 
std::string_view debug_string (Decompress_status status)
 
std::ostream & operator<< (std::ostream &stream, const Decompress_status status)
 

Variables

constexpr unsigned int ZSTD_INSTRUMENTED_BELOW_VERSION = 10505
 

Typedef Documentation

◆ Compress_status

Enumeration Type Documentation

◆ Decompress_status

Enumerator
success 

Decompression succeeded.

out_of_memory 

Memory allocation failed.

exceeds_max_size 

Requested size exceeds configured maximum.

truncated 

There were remaining bytes, but less than requested.

corrupted 

Compression library reported an error.

end 

Zero remaining bytes.

◆ type

Enumerator
ZSTD 
NONE 

Function Documentation

◆ debug_string()

std::string_view mysql::binlog::event::compression::debug_string ( Decompress_status  status)

◆ operator<<()

std::ostream & mysql::binlog::event::compression::operator<< ( std::ostream &  stream,
const Decompress_status  status 
)

◆ type_is_valid()

template<class T >
bool mysql::binlog::event::compression::type_is_valid ( t)

◆ type_to_string()

std::string mysql::binlog::event::compression::type_to_string ( type  t)

Variable Documentation

◆ ZSTD_INSTRUMENTED_BELOW_VERSION

constexpr unsigned int mysql::binlog::event::compression::ZSTD_INSTRUMENTED_BELOW_VERSION = 10505
constexpr