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_profile_elements` system table, which allows you to get information about elements of settings profiles.
|
2022-04-19 20:47:29 +00:00
|
|
|
class StorageSystemSettingsProfileElements final : public IStorageSystemOneBlock<StorageSystemSettingsProfileElements>, boost::noncopyable
|
2020-05-12 20:31:30 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::string getName() const override { return "SystemSettingsProfileElements"; }
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|