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