aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/ParserKillQueryQuery.h
blob: da75317c52a0c4933122b684c55e5d051c230af2 (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
{

/** KILL QUERY WHERE <logical expression upon system.processes fields> [SYNC|ASYNC|TEST]
  */
class ParserKillQueryQuery : public IParserBase
{
protected:
    const char * getName() const override { return "KILL QUERY query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};

}