aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Storages/System/StorageSystemQueryCache.h
blob: 5ff5f0a0454dd3307751f8ec20202da9d14e5228 (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 StorageSystemQueryCache final : public IStorageSystemOneBlock<StorageSystemQueryCache>
{
public:
    explicit StorageSystemQueryCache(const StorageID & table_id_);

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

    static NamesAndTypesList getNamesAndTypes();

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

}