java.lang.Object
org.apache.flink.table.runtime.operators.window.grouping.WindowsGrouping
org.apache.flink.table.runtime.operators.window.grouping.HeapWindowsGrouping
All Implemented Interfaces:
Closeable, AutoCloseable

public class HeapWindowsGrouping extends WindowsGrouping
A jvm heap implementation of WindowsGrouping, which uses a linked list to buffer all the inputs of a keyed group belonging to the same window. It is designed to have a capacity limit to avoid JVM OOM and reduce GC pauses.
  • Constructor Details

    • HeapWindowsGrouping

      public HeapWindowsGrouping(int maxSizeLimit, long windowSize, long slideSize, int timeIndex, boolean isDate)
    • HeapWindowsGrouping

      public HeapWindowsGrouping(int maxSizeLimit, long offset, long windowSize, long slideSize, int timeIndex, boolean isDate)
  • Method Details