public static final class RecordsWindowBuffer.LocalFactory extends Object implements WindowBuffer.LocalFactory
RecordsWindowBuffer with RecordsCombiner.LocalFactory.| Constructor and Description |
|---|
LocalFactory(PagedTypeSerializer<org.apache.flink.table.data.RowData> keySer,
AbstractRowDataSerializer<org.apache.flink.table.data.RowData> inputSer,
RecordsCombiner.LocalFactory localFactory) |
| Modifier and Type | Method and 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. |
public LocalFactory(PagedTypeSerializer<org.apache.flink.table.data.RowData> keySer, AbstractRowDataSerializer<org.apache.flink.table.data.RowData> inputSer, RecordsCombiner.LocalFactory localFactory)
public 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
WindowBuffer.LocalFactoryWindowBuffer for local window that buffers elements in memory before
flushing.create in interface WindowBuffer.LocalFactoryoperatorOwner - 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 windowIOException - thrown if the buffer can't be openedExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.