ClickHouse/dbms/include/DB/IO/CompressedStream.h
2012-05-02 15:45:53 +00:00

25 lines
302 B
C++

#pragma once
/** Общие дефайны */
#define DBMS_MAX_COMPRESSED_SIZE 0x40000000ULL /// 1GB
#define QUICKLZ_ADDITIONAL_SPACE 400
#define QUICKLZ_HEADER_SIZE 9
namespace DB
{
namespace CompressionMethod
{
/** Метод сжатия */
enum Enum
{
QuickLZ = 0,
LZ4 = 1,
};
}
}