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