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

18 lines
354 B
C++

#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries like
* DROP QUOTA [IF EXISTS] name [,...]
*/
class ParserDropAccessEntityQuery : public IParserBase
{
protected:
const char * getName() const override { return "DROP QUOTA query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}