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

#include <Storages/System/IStorageSystemOneBlock.h>

namespace DB
{

class StorageSystemNamedCollections final : public IStorageSystemOneBlock<StorageSystemNamedCollections>
{
public:
    explicit StorageSystemNamedCollections(const StorageID & table_id_);

    std::string getName() const override { return "SystemNamedCollections"; }

    static NamesAndTypesList getNamesAndTypes();

protected:
    void fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo & query_info) const override;
};

}