aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/InterpreterFactory.h
blob: 774cbd1cb0fbd51dabac64f92a146bc062907e82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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 = {});
};

}