ClickHouse/dbms/include/DB/Parsers/ParserKillQueryQuery.h

20 lines
404 B
C++
Raw Normal View History

2016-11-30 17:31:05 +00:00
#pragma once
#include <DB/Parsers/IParserBase.h>
namespace DB
{
/** KILL QUERY WHERE <logical expression upon system.processes fields> [SYNC|ASYNC|TEST]
2016-11-30 17:31:05 +00:00
*/
class ParserKillQueryQuery : public IParserBase
{
protected:
const char * getName() const override { return "KILL QUERY query"; }
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected) override;
};
}