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