ClickHouse/src/Interpreters/InterpreterCreateNamedCollectionQuery.h

24 lines
409 B
C++

#pragma once
#include <Interpreters/IInterpreter.h>
namespace DB
{
class InterpreterCreateNamedCollectionQuery : public IInterpreter, WithMutableContext
{
public:
InterpreterCreateNamedCollectionQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_)
: WithMutableContext(context_), query_ptr(query_ptr_)
{
}
BlockIO execute() override;
private:
ASTPtr query_ptr;
};
}