mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
25 lines
397 B
C++
25 lines
397 B
C++
#pragma once
|
|
|
|
#include <DB/Core/QueryProcessingStage.h>
|
|
#include <DB/Interpreters/IInterpreter.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
class IAST;
|
|
using ASTPtr = std::shared_ptr<IAST>;
|
|
|
|
|
|
class InterpreterFactory
|
|
{
|
|
public:
|
|
static std::unique_ptr<IInterpreter> get(
|
|
ASTPtr & query,
|
|
Context & context,
|
|
QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
|
|
};
|
|
|
|
}
|