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