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