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