ClickHouse/dbms/src/Parsers/ParserShowQuotasQuery.h

19 lines
362 B
C++
Raw Normal View History

2019-12-01 22:01:05 +00:00
#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;
};
}