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