blob: fcee3b098680774421d073593802fbb2c43ae249 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries like
* SHOW USERS
* SHOW [CURRENT|ENABLED] ROLES
* SHOW [SETTINGS] PROFILES
* SHOW [ROW] POLICIES [name | ON [database.]table]
* SHOW QUOTAS
* SHOW [CURRENT] QUOTA
*/
class ParserShowAccessEntitiesQuery : public IParserBase
{
protected:
const char * getName() const override { return "ShowAccessEntitiesQuery"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}
|