1#pragma once
2
3#include <Interpreters/IInterpreter.h>
4#include <Parsers/IAST_fwd.h>
5
6
7namespace DB
8{
9class Context;
10
11class InterpreterShowRowPoliciesQuery : public IInterpreter
12{
13public:
14 InterpreterShowRowPoliciesQuery(const ASTPtr & query_ptr_, Context & context_);
15 BlockIO execute() override;
16
17private:
18 String getRewrittenQuery() const;
19 String getResultDescription() const;
20
21 ASTPtr query_ptr;
22 Context & context;
23};
24
25}
26