ClickHouse/dbms/include/DB/Interpreters/InterpreterFactory.h
2015-06-18 05:11:05 +03:00

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);
};
}