ClickHouse/src/Storages/System/StorageSystemKafkaConsumers.h
2023-08-10 22:35:05 +00:00

28 lines
552 B
C++

#pragma once
#include "config.h"
#if USE_RDKAFKA
#include <Storages/System/IStorageSystemOneBlock.h>
namespace DB
{
class StorageSystemKafkaConsumers final : public IStorageSystemOneBlock<StorageSystemKafkaConsumers>
{
public:
std::string getName() const override { return "SystemKafkaConsumers"; }
static NamesAndTypesList getNamesAndTypes();
protected:
using IStorageSystemOneBlock::IStorageSystemOneBlock;
void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const override;
};
}
#endif