ClickHouse/src/Storages/System/StorageSystemMacros.h
Robert Schulze 777b5bc15b
Don't let storages inherit from boost::noncopyable
... IStorage has deleted copy ctor / assignment already
2022-05-03 09:07:08 +02:00

29 lines
602 B
C++

#pragma once
#include <DataTypes/DataTypeString.h>
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class Context;
/** Information about macros for introspection.
*/
class StorageSystemMacros final : public IStorageSystemOneBlock<StorageSystemMacros>
{
public:
std::string getName() const override { return "SystemMacros"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
};
}