mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
24 lines
371 B
C++
24 lines
371 B
C++
#pragma once
|
|
|
|
#include <Core/QueryProcessingStage.h>
|
|
#include <Interpreters/IInterpreter.h>
|
|
#include <Parsers/IAST_fwd.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
|
|
class InterpreterFactory
|
|
{
|
|
public:
|
|
static std::unique_ptr<IInterpreter> get(
|
|
ASTPtr & query,
|
|
Context & context,
|
|
QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
|
|
};
|
|
|
|
}
|