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

#include <Interpreters/IInterpreter.h>

namespace DB
{

class Context;

class InterpreterAlterNamedCollectionQuery : public IInterpreter, WithMutableContext
{
public:
    InterpreterAlterNamedCollectionQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_)
        : WithMutableContext(context_), query_ptr(query_ptr_) {}

    BlockIO execute() override;

private:
    ASTPtr query_ptr;
};

}