ClickHouse/dbms/src/Parsers/ParserShowQuotasQuery.h
2019-12-05 21:03:57 +03:00

19 lines
362 B
C++

#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries like
* SHOW QUOTAS
* SHOW QUOTA USAGE [CURRENT | ALL]
*/
class ParserShowQuotasQuery : public IParserBase
{
protected:
const char * getName() const override { return "SHOW QUOTA query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}