ClickHouse/src/Interpreters/InterpreterFactory.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
397 B
C++
Raw Normal View History

2015-06-18 02:11:05 +00:00
#pragma once
#include <Core/QueryProcessingStage.h>
#include <Interpreters/IInterpreter.h>
2020-12-18 06:54:38 +00:00
#include <Interpreters/SelectQueryOptions.h>
2019-03-11 14:01:45 +00:00
#include <Parsers/IAST_fwd.h>
2015-06-18 02:11:05 +00:00
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,
2021-05-31 14:49:02 +00:00
ContextMutablePtr context,
2020-12-18 06:54:38 +00:00
const SelectQueryOptions & options = {});
2015-06-18 02:11:05 +00:00
};
}