1#pragma once
2
3#include <ext/shared_ptr_helper.h>
4#include <Storages/System/IStorageSystemOneBlock.h>
5
6
7namespace DB
8{
9
10class Context;
11
12
13/** System table "build_options" with many params used for clickhouse building
14 */
15class StorageSystemBuildOptions : public ext::shared_ptr_helper<StorageSystemBuildOptions>, public IStorageSystemOneBlock<StorageSystemBuildOptions>
16{
17 friend struct ext::shared_ptr_helper<StorageSystemBuildOptions>;
18protected:
19 void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override;
20
21 using IStorageSystemOneBlock::IStorageSystemOneBlock;
22
23public:
24
25 std::string getName() const override { return "SystemBuildOptions"; }
26
27 static NamesAndTypesList getNamesAndTypes();
28};
29
30}
31