ClickHouse/src/Storages/System/StorageSystemServerSettings.h

28 lines
640 B
C++
Raw Normal View History

2023-02-18 04:46:09 +00:00
#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** implements system table "settings", which allows to get information about the current settings.
*/
class StorageSystemServerSettings final : public IStorageSystemOneBlock<StorageSystemServerSettings>
{
public:
std::string getName() const override { return "SystemServerSettings"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
};
}