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

#include <Parsers/IParserBase.h>

namespace DB
{

/** Query like this:
  * DROP INDEX [IF EXISTS] name ON [db].name
  */

class ParserDropIndexQuery : public IParserBase
{
protected:
    const char * getName() const override { return "DROP INDEX query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};

}