1 | #pragma once |
---|---|
2 | |
3 | #include <Parsers/IParserBase.h> |
4 | |
5 | |
6 | namespace DB |
7 | { |
8 | /** Parses queries like |
9 | * SHOW CREATE QUOTA [name | CURRENT] |
10 | */ |
11 | class ParserShowCreateAccessEntityQuery : public IParserBase |
12 | { |
13 | protected: |
14 | const char * getName() const override { return "SHOW CREATE QUOTA query"; } |
15 | bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override; |
16 | }; |
17 | } |
18 |