1 | #pragma once |
---|---|
2 | |
3 | #include <Core/Block.h> |
4 | #include <Interpreters/IInterpreter.h> |
5 | #include <Parsers/IAST_fwd.h> |
6 | |
7 | namespace DB |
8 | { |
9 | |
10 | class Context; |
11 | class Cluster; |
12 | |
13 | class InterpreterCheckQuery : public IInterpreter |
14 | { |
15 | public: |
16 | InterpreterCheckQuery(const ASTPtr & query_ptr_, const Context & context_); |
17 | |
18 | BlockIO execute() override; |
19 | |
20 | private: |
21 | ASTPtr query_ptr; |
22 | |
23 | const Context & context; |
24 | }; |
25 | |
26 | } |
27 |