ClickHouse/src/Storages/MergeTree/AllMergeSelector.h
2020-09-03 16:29:18 +03:00

20 lines
407 B
C++

#pragma once
#include <Storages/MergeTree/MergeSelector.h>
namespace DB
{
/// Select all parts within partition (having at least two parts) with minimum total size.
class AllMergeSelector : public IMergeSelector
{
public:
/// Parameter max_total_size_to_merge is ignored.
PartsRange select(
const PartsRanges & parts_ranges,
const size_t max_total_size_to_merge) override;
};
}