mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
23 lines
523 B
C++
23 lines
523 B
C++
#pragma once
|
|
|
|
#include <IO/WriteBuffer.h>
|
|
#include <Compression/ICompressionCodec.h>
|
|
#include <IO/BufferWithOwnMemory.h>
|
|
#include <Parsers/StringRange.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class CompressionCodecNone : public ICompressionCodec
|
|
{
|
|
public:
|
|
char getMethodByte() override;
|
|
|
|
void getCodecDesc(String & codec_desc) override;
|
|
|
|
size_t compress(char * source, size_t source_size, char * compressed_buf) override;
|
|
|
|
size_t decompress(char *source, size_t source_size, char *dest, size_t decompressed_size) override;
|
|
};
|
|
|
|
} |