mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
20 lines
298 B
C
20 lines
298 B
C
|
#pragma once
|
||
|
|
||
|
#include <DB/Interpreters/Context.h>
|
||
|
#include <DB/Interpreters/IInterpreter.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
class InterpreterFactory
|
||
|
{
|
||
|
public:
|
||
|
static SharedPtr<IInterpreter> get(
|
||
|
ASTPtr & query,
|
||
|
Context & context,
|
||
|
QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
|
||
|
};
|
||
|
|
||
|
}
|