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 | |
10 | namespace DB |
11 | { |
12 | |
13 | class Context; |
14 | |
15 | |
16 | class StorageSystemMerges : public ext::shared_ptr_helper<StorageSystemMerges>, public IStorageSystemOneBlock<StorageSystemMerges> |
17 | { |
18 | friend struct ext::shared_ptr_helper<StorageSystemMerges>; |
19 | public: |
20 | std::string getName() const override { return "SystemMerges"; } |
21 | |
22 | static NamesAndTypesList getNamesAndTypes(); |
23 | |
24 | protected: |
25 | using IStorageSystemOneBlock::IStorageSystemOneBlock; |
26 | |
27 | void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override; |
28 | }; |
29 | |
30 | } |
31 |