ClickHouse/dbms/src/Interpreters/InterpreterFactory.h
2019-03-11 17:01:45 +03:00

24 lines
371 B
C++

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