nesper

Esper/NEsper EPL event Statement

让人想犯罪 __ 提交于 2021-01-29 07:26:57
问题 I'm new in Esper. Can anyone help me define the EPL statement to catch the event when the following situation occurs: Assumming that there are events with 3 attributes - (string)Symbol, (boolean)Value, (datetime)Timestamp. For example event1 (Symbol-apple, Value-true, Timestamp- 2020.10.07 14:00:00), event2 (Symbol-orange, Value-true, Timestamp- 2020.10.07 14:00:00) and event3 (Symbol-banana, Value-false, Timestamp- 2020.10.07 14:00:00). If they have same (or almost the same) Timestamp only