mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
17 lines
521 B
C++
17 lines
521 B
C++
#pragma once
|
|
|
|
#include <Compression/ICompressionCodec.h>
|
|
#include <Disks/IDisk.h>
|
|
#include <Storages/MergeTree/IDataPartStorage.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Return compression codec with default parameters for file compressed in
|
|
/// clickhouse fashion (with checksums, headers for each block, etc). This
|
|
/// method should be used as fallback when we cannot deduce compression codec
|
|
/// from metadata.
|
|
CompressionCodecPtr getCompressionCodecForFile(const IDataPartStorage & data_part_storage, const String & relative_path);
|
|
|
|
}
|