Class EmptyQueueSlidingWindowAggregator


  • public class EmptyQueueSlidingWindowAggregator
    extends SlidingWindowAggregator
    When calculating MAX_TIME and LAST_VALUE (the MIN_TIME and FIRST_VALUE in descending order), the aggregation result always appears in the most recent pre-aggregation result. So, we do not need to cache the previous pre-aggregated results in the queue.