mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
23 lines
606 B
C++
23 lines
606 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
class Context;
|
||
|
|
||
|
/// Implements `system.scheduler` table, which allows you to get information about scheduling nodes.
|
||
|
class StorageSystemScheduler final : public IStorageSystemOneBlock<StorageSystemScheduler>
|
||
|
{
|
||
|
public:
|
||
|
std::string getName() const override { return "SystemScheduler"; }
|
||
|
static NamesAndTypesList getNamesAndTypes();
|
||
|
|
||
|
protected:
|
||
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
||
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
|
||
|
};
|
||
|
|
||
|
}
|