1#pragma once
2
3#include <Parsers/ASTQueryWithOutput.h>
4
5
6namespace DB
7{
8/** SHOW QUOTAS
9 * SHOW QUOTA USAGE [CURRENT | ALL]
10 */
11class ASTShowQuotasQuery : public ASTQueryWithOutput
12{
13public:
14 bool usage = false;
15 bool current = false;
16
17 String getID(char) const override;
18 ASTPtr clone() const override;
19
20protected:
21 void formatQueryImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
22};
23
24}
25