Class NormalQueueSlidingWindowGroupByExecutor


  • public class NormalQueueSlidingWindowGroupByExecutor
    extends SlidingWindowGroupByExecutor
    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.