27 #ifndef HYPERTABLE_BLOCKCOMPRESSIONCODECBMZ_H
28 #define HYPERTABLE_BLOCKCOMPRESSIONCODECBMZ_H
134 #endif // HYPERTABLE_BLOCKCOMPRESSIONCODECBMZ_H
virtual void set_args(const Args &args)
Sets arguments to control compression behavior.
size_t m_offset
Starting offset of fingerprints.
Declarations for BlockCompressionCodec.
A dynamic, resizable and reference counted memory buffer.
std::vector< String > Args
Compression codec argument vector.
Bentley-McIlroy large common substring compression.
BlockCompressionCodecBmz(const Args &args)
Constructor.
A dynamic, resizable memory buffer.
virtual void deflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header, size_t reserve=0)
Compresses a buffer using the BMZ algorithm.
size_t m_fp_len
Fingerprint length.
Block compressor that uses the BMZ algorithm.
virtual ~BlockCompressionCodecBmz()
Destructor.
virtual void inflate(const DynamicBuffer &input, DynamicBuffer &output, BlockHeader &header)
Decompresses a buffer compressed with the BMZ algorithm.
DynamicBuffer m_workmem
Working memory buffer used by deflate() and inflate()
virtual int get_type()
Returns enum value representing compression type BMZ.
Abstract base class for block compression codecs.