mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
25 lines
444 B
C++
25 lines
444 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Parsers/ASTQueryWithOutput.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
/** SHOW QUOTAS
|
||
|
* SHOW QUOTA USAGE [CURRENT | ALL]
|
||
|
*/
|
||
|
class ASTShowQuotasQuery : public ASTQueryWithOutput
|
||
|
{
|
||
|
public:
|
||
|
bool usage = false;
|
||
|
bool current = false;
|
||
|
|
||
|
String getID(char) const override;
|
||
|
ASTPtr clone() const override;
|
||
|
|
||
|
protected:
|
||
|
void formatQueryImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override;
|
||
|
};
|
||
|
|
||
|
}
|