1 | #pragma once |
---|---|
2 | |
3 | #include <Parsers/IParserBase.h> |
4 | #include <Parsers/ExpressionElementParsers.h> |
5 | |
6 | |
7 | namespace DB |
8 | { |
9 | |
10 | /** Query (EXISTS | SHOW CREATE) [TABLE|DICTIONARY] [db.]name [FORMAT format] |
11 | */ |
12 | class ParserTablePropertiesQuery : public IParserBase |
13 | { |
14 | protected: |
15 | const char * getName() const override { return "EXISTS or SHOW CREATE query"; } |
16 | bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override; |
17 | }; |
18 | |
19 | } |
20 |