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