ClickHouse/dbms/include/DB/IO/ZlibCompressionMethod.h
Alexey Zatelepin 600bb5f29a [#METR-23582]
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00

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,
};
}