mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
28 lines
640 B
C++
28 lines
640 B
C++
#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;
|
|
};
|
|
|
|
}
|