ClickHouse/src/Interpreters/InterpreterShowAccessEntitiesQuery.h

27 lines
511 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
{
2021-05-31 14:49:02 +00:00
class InterpreterShowAccessEntitiesQuery : public IInterpreter, WithMutableContext
2019-11-29 17:22:56 +00:00
{
public:
2021-05-31 14:49:02 +00:00
InterpreterShowAccessEntitiesQuery(const ASTPtr & query_ptr_, ContextMutablePtr 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;
};
}