mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 23:31:24 +00:00
600bb5f29a
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer * use them instead of Poco streams * seamlessly uncompress multiple concatenated gzip streams
17 lines
365 B
C++
17 lines
365 B
C++
#pragma once
|
|
|
|
namespace DB
|
|
{
|
|
|
|
enum class ZlibCompressionMethod
|
|
{
|
|
/// DEFLATE compression with gzip header and CRC32 checksum.
|
|
/// This option corresponds to files produced by gzip(1) or HTTP Content-Encoding: gzip.
|
|
Gzip,
|
|
/// DEFLATE compression with zlib header and Adler32 checksum.
|
|
/// This option corresponds to HTTP Content-Encoding: deflate.
|
|
Zlib,
|
|
};
|
|
|
|
}
|