1#pragma once
2
3#include <Core/QueryProcessingStage.h>
4#include <Interpreters/IInterpreter.h>
5#include <Parsers/IAST_fwd.h>
6
7
8namespace DB
9{
10
11class Context;
12
13
14class InterpreterFactory
15{
16public:
17 static std::unique_ptr<IInterpreter> get(
18 ASTPtr & query,
19 Context & context,
20 QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
21};
22
23}
24