ClickHouse/dbms/Parsers/ASTShowQuotasQuery.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

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;
};
}