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