mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
26 lines
443 B
C++
26 lines
443 B
C++
#pragma once
|
|
|
|
#include <Interpreters/IInterpreter.h>
|
|
#include <Parsers/IAST_fwd.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
class Context;
|
|
|
|
class InterpreterShowRowPoliciesQuery : public IInterpreter
|
|
{
|
|
public:
|
|
InterpreterShowRowPoliciesQuery(const ASTPtr & query_ptr_, Context & context_);
|
|
BlockIO execute() override;
|
|
|
|
private:
|
|
String getRewrittenQuery() const;
|
|
String getResultDescription() const;
|
|
|
|
ASTPtr query_ptr;
|
|
Context & context;
|
|
};
|
|
|
|
}
|