mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
777b5bc15b
... IStorage has deleted copy ctor / assignment already
27 lines
686 B
C++
27 lines
686 B
C++
#pragma once
|
|
|
|
#include <Interpreters/DDLWorker.h>
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
#include <future>
|
|
|
|
namespace DB
|
|
{
|
|
class Context;
|
|
|
|
|
|
/** System table "distributed_ddl_queue" with list of queries that are currently in the DDL worker queue.
|
|
*/
|
|
class StorageSystemDDLWorkerQueue final : public IStorageSystemOneBlock<StorageSystemDDLWorkerQueue>
|
|
{
|
|
protected:
|
|
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
|
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
|
|
|
public:
|
|
std::string getName() const override { return "SystemDDLWorkerQueue"; }
|
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
|
};
|
|
}
|