【Siddhi】Siddhi的语法关键字

在这里插入图片描述

1.CEP

The pattern is a state machine implementation that detects event occurrences from events arrived via one or more event streams over time. It can repetitively match patterns, count event occurrences, and use logical event ordering (using and, or, and not).

Pattern 是一种状态机的实现,旨在检测在某个时间范围内,一个或者多个事件流发生所引起的事件。该状态机可以重复匹配事件模式、统计事件发生次数、并且按照事件发生顺序进行逻辑运算(and、or、not)。

Pattern可以通过近实时地检测各种预定义的事件模式,来实现CEP。

2.语法关键字

2.1 ->

表示事件发生顺序。 preceding event -> subsequent event

2.2 every

from (every)? 

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/106230356
今日推荐