ClickHouse/dbms/Parsers/ParserKillQueryQuery.h

20 lines
376 B
C++
Raw Normal View History

2016-11-30 17:31:05 +00:00
#pragma once
#include <Parsers/IParserBase.h>
2016-11-30 17:31:05 +00:00
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, ASTPtr & node, Expected & expected) override;
2016-11-30 17:31:05 +00:00
};
}