2018-10-26 17:43:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-19 20:47:29 +00:00
|
|
|
#include <boost/noncopyable.hpp>
|
2018-10-26 17:43:50 +00:00
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
class Context;
|
|
|
|
|
|
|
|
|
|
|
|
/** System table "contributors" with list of clickhouse contributors
|
|
|
|
*/
|
2022-04-19 20:47:29 +00:00
|
|
|
class StorageSystemContributors final : public IStorageSystemOneBlock<StorageSystemContributors>, boost::noncopyable
|
2018-10-26 17:43:50 +00:00
|
|
|
{
|
|
|
|
protected:
|
2021-04-10 23:33:54 +00:00
|
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
|
2018-10-26 17:43:50 +00:00
|
|
|
|
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
|
|
|
|
|
|
|
public:
|
|
|
|
std::string getName() const override
|
|
|
|
{
|
|
|
|
return "SystemContributors";
|
|
|
|
}
|
|
|
|
|
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
|
|
|
};
|
|
|
|
}
|