mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
27 lines
511 B
C++
27 lines
511 B
C++
#pragma once
|
|
|
|
#include <Interpreters/IInterpreter.h>
|
|
#include <Parsers/IAST_fwd.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class InterpreterShowAccessEntitiesQuery : public IInterpreter, WithMutableContext
|
|
{
|
|
public:
|
|
InterpreterShowAccessEntitiesQuery(const ASTPtr & query_ptr_, ContextMutablePtr context_);
|
|
|
|
BlockIO execute() override;
|
|
|
|
bool ignoreQuota() const override { return true; }
|
|
bool ignoreLimits() const override { return true; }
|
|
|
|
private:
|
|
String getRewrittenQuery() const;
|
|
|
|
ASTPtr query_ptr;
|
|
};
|
|
|
|
}
|