Esper - 使用 WHERE 检测某个事件是否存在

Esper - Detect absence of a certain event with WHERE

我正在寻找这个 question,我需要这个 select * from pattern [every (timer:interval(10 sec) and not EventX)]; 但是 WHERE id = "001",我不知道把 WEHERE 放在哪里。

select * from pattern [every (timer:interval(10 sec) and not EventX(id="001"))];