ClickHouse/dbms/Storages/MergeTree/AllMergeSelector.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

20 lines
410 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.
PartsInPartition select(
const Partitions & partitions,
const size_t max_total_size_to_merge) override;
};
}