mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +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);
|
||
|
};
|
||
|
|
||
|
}
|