1#pragma once
2
3#include <Storages/MergeTree/MergeSelector.h>
4
5
6namespace DB
7{
8
9/// Select all parts within partition (having at least two parts) with minimum total size.
10class AllMergeSelector : public IMergeSelector
11{
12public:
13 /// Parameter max_total_size_to_merge is ignored.
14 PartsInPartition select(
15 const Partitions & partitions,
16 const size_t max_total_size_to_merge) override;
17};
18
19}
20