Class NormalQueueSlidingWindowAggregator


  • public class NormalQueueSlidingWindowAggregator
    extends SlidingWindowAggregator
    When calculating MIN_TIME and FIRST_VALUE (MAX_TIME and LAST_VALUE in descending order), the aggregated result always appears at the head of the queue. We need to cache all pre-aggregated results in the queue.