public static class ListWindowBuffer.Factory<T> extends Object implements WindowBufferFactory<T,T,ListWindowBuffer<T>>
| Constructor and Description |
|---|
Factory(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) |
| Modifier and Type | Method and Description |
|---|---|
ListWindowBuffer<T> |
create()
Creates a new
WindowBuffer. |
ListWindowBuffer<T> |
restoreFromSnapshot(org.apache.flink.core.memory.DataInputView in)
Restores a
WindowBuffer from a previous snapshot written using
WindowBuffer.snapshot(DataOutputView). |
public Factory(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
public ListWindowBuffer<T> create()
WindowBufferFactoryWindowBuffer.create in interface WindowBufferFactory<T,T,ListWindowBuffer<T>>public ListWindowBuffer<T> restoreFromSnapshot(org.apache.flink.core.memory.DataInputView in) throws IOException
WindowBufferFactoryWindowBuffer from a previous snapshot written using
WindowBuffer.snapshot(DataOutputView).restoreFromSnapshot in interface WindowBufferFactory<T,T,ListWindowBuffer<T>>IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.