ClickHouse/src/Storages/System/StorageSystemWarnings.h

24 lines
636 B
C++
Raw Normal View History

2021-07-09 09:27:51 +00:00
#pragma once
#include <Storages/System/IStorageSystemOneBlock.h>
2021-07-12 12:21:18 +00:00
namespace DB
{
2021-07-09 09:27:51 +00:00
class Context;
2021-07-12 12:21:18 +00:00
class StorageSystemWarnings final : public shared_ptr_helper<StorageSystemWarnings>,
public IStorageSystemOneBlock<StorageSystemWarnings> {
2021-07-09 09:27:51 +00:00
public:
std::string getName() const override { return "SystemWarnings"; }
static NamesAndTypesList getNamesAndTypes();
protected:
friend struct shared_ptr_helper<StorageSystemWarnings>;
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr, const SelectQueryInfo &) const override;
};
}