mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +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);
|
|
};
|
|
|
|
}
|