mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
22 lines
604 B
C++
22 lines
604 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
||
|
|
||
|
namespace DB {
|
||
|
|
||
|
class Context;
|
||
|
|
||
|
class StorageSystemWarnings final : public shared_ptr_helper<StorageSystemWarnings>, public IStorageSystemOneBlock<StorageSystemWarnings> {
|
||
|
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;
|
||
|
};
|
||
|
}
|