Class MonotonicQueueSlidingWindowAggregator


  • public class MonotonicQueueSlidingWindowAggregator
    extends SlidingWindowAggregator
    When computing MAX_VALUE, MIN_VALUE, EXTREME, we only add partial aggregation results that maintain monotonicity to queue. The aggregation result always appears at the head of the queue.