ClickHouse/src/Storages/System/StorageSystemCertificates.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
683 B
C++
Raw Normal View History

2022-05-12 06:55:35 +00:00
#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
class Cluster;
2022-05-14 21:40:50 +00:00
/** Implements system table 'certificates'
* that allows to obtain information about available certificates
* and their sources.
2022-05-12 06:55:35 +00:00
*/
class StorageSystemCertificates final : public IStorageSystemOneBlock<StorageSystemCertificates>
{
public:
std::string getName() const override { return "SystemCertificates"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
};
}