22 #ifndef Hypertable_RangeServer_KeyCompressor_h
23 #define Hypertable_RangeServer_KeyCompressor_h
31 namespace KeyCompressionType {
37 virtual void reset() = 0;
38 virtual void add(
const Key &key) = 0;
39 virtual size_t length() = 0;
41 virtual void write(uint8_t *buf) = 0;
49 #endif // Hypertable_RangeServer_KeyCompressor_h
std::shared_ptr< KeyCompressor > KeyCompressorPtr
virtual void write_uncompressed(uint8_t *buf)=0
virtual size_t length()=0
virtual size_t length_uncompressed()=0
Provides access to internal components of opaque key.
virtual void write(uint8_t *buf)=0
virtual void add(const Key &key)=0