mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
26 lines
411 B
C++
26 lines
411 B
C++
#pragma once
|
|
|
|
#include <Interpreters/IInterpreter.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
class InterpreterCreateFunctionQuery : public IInterpreter, WithMutableContext
|
|
{
|
|
public:
|
|
InterpreterCreateFunctionQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_)
|
|
: WithMutableContext(context_), query_ptr(query_ptr_)
|
|
{
|
|
}
|
|
|
|
BlockIO execute() override;
|
|
|
|
private:
|
|
ASTPtr query_ptr;
|
|
};
|
|
|
|
}
|