Interface WindowBuffer.LocalFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RecordsWindowBuffer.LocalFactory
- Enclosing interface:
- WindowBuffer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface WindowBuffer.LocalFactory extends Serializable
A factory that creates aWindowBuffer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WindowBuffercreate(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 aWindowBufferfor 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 aWindowBufferfor local window that buffers elements in memory before flushing.- Parameters:
operatorOwner- the owner of the operatormemoryManager- the manager that governs memory by Flink frameworkmemorySize- the managed memory size can be used by this operatorcollector- collector to emit recordsshiftTimeZone- the shift timezone of the window- Throws:
IOException- thrown if the buffer can't be openedException
-
-