Interface WindowBuffer.LocalFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      WindowBuffer create​(Object operatorOwner, org.apache.flink.runtime.memory.MemoryManager memoryManager, long memorySize, org.apache.flink.api.common.functions.RuntimeContext runtimeContext, org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> collector, ZoneId shiftTimeZone)
      Creates a WindowBuffer for local window that buffers elements in memory before flushing.
    • Method Detail

      • create

        WindowBuffer create​(Object operatorOwner,
                            org.apache.flink.runtime.memory.MemoryManager memoryManager,
                            long memorySize,
                            org.apache.flink.api.common.functions.RuntimeContext runtimeContext,
                            org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> collector,
                            ZoneId shiftTimeZone)
                     throws Exception
        Creates a WindowBuffer for local window that buffers elements in memory before flushing.
        Parameters:
        operatorOwner - the owner of the operator
        memoryManager - the manager that governs memory by Flink framework
        memorySize - the managed memory size can be used by this operator
        collector - collector to emit records
        shiftTimeZone - the shift timezone of the window
        Throws:
        IOException - thrown if the buffer can't be opened
        Exception