24#ifndef MYSQL_BINLOG_EVENT_COMPRESSION_FACTORY_H
25#define MYSQL_BINLOG_EVENT_COMPRESSION_FACTORY_H
Polymorphism-free memory resource class with custom allocator and deallocator functions.
Definition: memory_resource.h:88
static std::unique_ptr< Decompressor > build_decompressor(type t, const Memory_resource_t &memory_resource=Memory_resource_t())
Definition: factory.cpp:47
static std::unique_ptr< Compressor > build_compressor(type t, const Memory_resource_t &memory_resource=Memory_resource_t())
Definition: factory.cpp:34
mysql::allocators::Memory_resource Memory_resource_t
Definition: factory.h:35
Class that wraps resources in a polymorphic manner.
type
Definition: base.h:40