2020-05-12 20:31:30 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-19 20:47:29 +00:00
|
|
|
#include <boost/noncopyable.hpp>
|
2020-05-12 20:31:30 +00:00
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
class Context;
|
|
|
|
|
|
|
|
/// Implements `settings_profiles` system table, which allows you to get information about profiles.
|
2022-04-19 20:47:29 +00:00
|
|
|
class StorageSystemSettingsProfiles final : public IStorageSystemOneBlock<StorageSystemSettingsProfiles>, boost::noncopyable
|
2020-05-12 20:31:30 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::string getName() const override { return "SystemSettingsProfiles"; }
|
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
2021-04-10 23:33:54 +00:00
|
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
|
2020-05-12 20:31:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|