mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
26 lines
413 B
C++
26 lines
413 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,
|
||
LZ4HC = 2, /// Формат такой же, как у LZ4. Разница только при сжатии.
|
||
};
|
||
}
|
||
|
||
}
|