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

#include <Parsers/IParserBase.h>
#include <Parsers/ExpressionElementParsers.h>


namespace DB
{

/** Query like this:
  * UNDROP TABLE [db.]name [UUID uuid]
  */
class ParserUndropQuery : public IParserBase
{
protected:
    const char * getName() const  override{ return "UNDROP query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};

}