문제

I am new with Esper which is Javas Complex Event Processing framework. Currently i am using the following query:

select 
min(low) as minLow,max(high) as maxHigh
from 
Bar.win:time_batch(180 sec);

I also want to get the high of first Bar and Low of Last bar in 180 sec window. Any Idea how can i achieve that?

도움이 되었습니까?

해결책

We can use last() and first().

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top