ClickHouse/src/Interpreters/InterpreterShowAccessEntitiesQuery.h

29 lines
521 B
C++
Raw Normal View History

2019-11-29 17:22:56 +00:00
#pragma once
#include <Interpreters/IInterpreter.h>
#include <Parsers/IAST_fwd.h>
namespace DB
{
class Context;
class InterpreterShowAccessEntitiesQuery : public IInterpreter
2019-11-29 17:22:56 +00:00
{
public:
InterpreterShowAccessEntitiesQuery(const ASTPtr & query_ptr_, Context & context_);
2019-11-29 17:22:56 +00:00
BlockIO execute() override;
2020-06-10 23:08:37 +00:00
bool ignoreQuota() const override { return true; }
bool ignoreLimits() const override { return true; }
2019-11-29 17:22:56 +00:00
private:
String getRewrittenQuery() const;
ASTPtr query_ptr;
Context & context;
};
}