ClickHouse/dbms/Interpreters/InterpreterDropAccessEntityQuery.h

21 lines
394 B
C++
Raw Normal View History

2019-12-01 22:01:05 +00:00
#pragma once
#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
class InterpreterDropAccessEntityQuery : public IInterpreter
{
public:
InterpreterDropAccessEntityQuery(const ASTPtr & query_ptr_, Context & context_) : query_ptr(query_ptr_), context(context_) {}
BlockIO execute() override;
private:
ASTPtr query_ptr;
Context & context;
};
}