aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Storages/System/StorageSystemKafkaConsumers.h
blob: c6d6685e2587fcf9dc3c13d94cd66b4691483b2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include "clickhouse_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