ClickHouse/src/Interpreters/InterpreterFactory.h
2021-05-31 17:49:02 +03:00

24 lines
397 B
C++

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