27 #ifndef HYPERTABLE_BLOCKCOMPRESSIONCODECQUICKLZ_H
28 #define HYPERTABLE_BLOCKCOMPRESSIONCODECQUICKLZ_H
32 #include <ThirdParty/quicklz/quicklz.h>
108 #endif // HYPERTABLE_BLOCKCOMPRESSIONCODECQUICKLZ_H
virtual void set_args(const Args &args)
Sets arguments to control compression behavior.
qlz_state_compress m_compress
Compression state.
virtual void deflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header, size_t reserve=0)
Compresses a buffer using the QUICKLZ algorithm.
Block compressor that uses the QUICKLZ algorithm.
Declarations for BlockCompressionCodec.
A dynamic, resizable and reference counted memory buffer.
std::vector< String > Args
Compression codec argument vector.
qlz_state_decompress m_decompress
Decompression state.
virtual void inflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header)
Decompresses a buffer compressed with the QUICKLZ algorithm.
virtual int get_type()
Returns enum value representing compression type QUICKLZ.
BlockCompressionCodecQuicklz(const Args &args)
Constructor.
virtual ~BlockCompressionCodecQuicklz()
Destructor.
Abstract base class for block compression codecs.