【问题标题】:Esper - Detect absence of a certain event with WHEREEsper - 使用 WHERE 检测某个事件的缺失
【发布时间】:2017-09-05 05:44:43
【问题描述】:

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

【问题讨论】:

    标签: esper complex-event-processing


    【解决方案1】:
    select * from pattern [every (timer:interval(10 sec) and not EventX(id="001"))];
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多