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