mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
25 lines
391 B
C++
25 lines
391 B
C++
#pragma once
|
|
|
|
#include <Core/QueryProcessingStage.h>
|
|
#include <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);
|
|
};
|
|
|
|
}
|