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