mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
30 lines
541 B
C++
30 lines
541 B
C++
|
#include <Interpreters/Settings.h>
|
||
|
|
||
|
#include "CompressionSettings.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
CompressionSettings::CompressionSettings()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
CompressionSettings::CompressionSettings(CompressionMethod method):
|
||
|
method(method)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
CompressionSettings::CompressionSettings(CompressionMethod method, int zstd_level):
|
||
|
method(method),
|
||
|
zstd_level(zstd_level)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
CompressionSettings::CompressionSettings(const Settings & settings):
|
||
|
CompressionSettings(settings.network_compression_method, settings.network_zstd_compression_level)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
}
|