aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/Access/ParserShowGrantsQuery.h
blob: 88409b5b7e23b68c3d3a25521952cbf9e8c6b9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <Parsers/IParserBase.h>


namespace DB
{
/** Parses queries like
  * SHOW GRANTS [FOR user_name]
  */
class ParserShowGrantsQuery : public IParserBase
{
protected:
    const char * getName() const override { return "SHOW GRANTS query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}