ClickHouse/dbms/include/DB/Interpreters/InterpreterFactory.h

21 lines
283 B
C++
Raw Normal View History

2015-06-18 02:11:05 +00:00
#pragma once
#include <DB/Interpreters/IInterpreter.h>
namespace DB
{
2016-12-12 07:24:56 +00:00
class Context;
2015-06-18 02:11:05 +00:00
class InterpreterFactory
{
public:
static std::unique_ptr<IInterpreter> get(
2015-06-18 02:11:05 +00:00
ASTPtr & query,
Context & context,
QueryProcessingStage::Enum stage = QueryProcessingStage::Complete);
};
}