K - the key type of the map entries.V - the value type of the map entries.public class MapViewSerializerSnapshot<K,V> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.MapView<K,V>>
TypeSerializerSnapshot for the MapViewSerializer.| Constructor and Description |
|---|
MapViewSerializerSnapshot()
Constructor for read instantiation.
|
MapViewSerializerSnapshot(org.apache.flink.api.common.typeutils.TypeSerializer<Map<K,V>> mapSerializer)
Constructor to create the snapshot for writing.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentVersion() |
void |
readSnapshot(int readVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader) |
org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<org.apache.flink.table.api.dataview.MapView<K,V>> |
resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.MapView<K,V>> newSerializer) |
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.MapView<K,V>> |
restoreSerializer() |
void |
writeSnapshot(org.apache.flink.core.memory.DataOutputView out) |
public MapViewSerializerSnapshot()
public int getCurrentVersion()
public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.MapView<K,V>> restoreSerializer()
public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<org.apache.flink.table.api.dataview.MapView<K,V>> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.api.dataview.MapView<K,V>> newSerializer)
public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.MapView<K,V>>IOExceptionpublic void readSnapshot(int readVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader)
throws IOException
readSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.api.dataview.MapView<K,V>>IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.