1#pragma once
2
3#include <DataTypes/DataTypeString.h>
4#include <DataTypes/DataTypesNumber.h>
5#include <DataTypes/DataTypeArray.h>
6#include <ext/shared_ptr_helper.h>
7#include <Storages/System/IStorageSystemOneBlock.h>
8
9
10namespace DB
11{
12
13class Context;
14
15
16class StorageSystemMerges : public ext::shared_ptr_helper<StorageSystemMerges>, public IStorageSystemOneBlock<StorageSystemMerges>
17{
18 friend struct ext::shared_ptr_helper<StorageSystemMerges>;
19public:
20 std::string getName() const override { return "SystemMerges"; }
21
22 static NamesAndTypesList getNamesAndTypes();
23
24protected:
25 using IStorageSystemOneBlock::IStorageSystemOneBlock;
26
27 void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override;
28};
29
30}
31