#pragma once #include #include #include #include namespace DB { class CompressionCodecNone : public ICompressionCodec { public: uint8_t getMethodByte() const override; String getCodecDesc() const override; protected: UInt32 doCompressData(const char * source, UInt32 source_size, char * dest) const override; void doDecompressData(const char * source, UInt32 source_size, char * dest, UInt32 uncompressed_size) const override; }; class CompressionCodecFactory; void registerCodecNone(CompressionCodecFactory & factory); }