aboutsummaryrefslogblamecommitdiffstats
path: root/contrib/clickhouse/src/Storages/System/StorageSystemContributors.h
blob: ba8c930118e8c0f55a5a5edcb2130c0903c7ae9e (plain) (tree)

























                                                                                                                       
#pragma once

#include <Storages/System/IStorageSystemOneBlock.h>

namespace DB
{
class Context;


/** System table "contributors" with list of clickhouse contributors
  */
class StorageSystemContributors final : public IStorageSystemOneBlock<StorageSystemContributors>
{
protected:
    void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;

    using IStorageSystemOneBlock::IStorageSystemOneBlock;

public:
    std::string getName() const override
    {
        return "SystemContributors";
    }

    static NamesAndTypesList getNamesAndTypes();
};
}