ClickHouse/dbms/include/DB/Interpreters/InterpreterFactory.h
2016-12-12 10:24:56 +03:00

21 lines
283 B
C++

#pragma once
#include <DB/Interpreters/IInterpreter.h>
namespace DB
{
class Context;
class InterpreterFactory
{
public:
static std::unique_ptr<IInterpreter> get(
ASTPtr & query,
Context & context,
QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
};
}