aboutsummaryrefslogblamecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/InterpreterDescribeCacheQuery.h
blob: 31b77f7d064d5e2fb3b24259022a70908e2f5900 (plain) (tree)




















                                                                                                                                   
#pragma once

#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>


namespace DB
{

class InterpreterDescribeCacheQuery : public IInterpreter, WithContext
{
public:
    InterpreterDescribeCacheQuery(const ASTPtr & query_ptr_, ContextPtr context_) : WithContext(context_), query_ptr(query_ptr_) {}

    BlockIO execute() override;

private:
    ASTPtr query_ptr;
};


}