mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +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);
|
||
|
};
|
||
|
|
||
|
}
|