ClickHouse/dbms/src/Parsers/ParserDropAccessEntityQuery.h

18 lines
354 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
* 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;
};
}