Class MapSerializer.MapSerializerSnapshot<K,V>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
-
- org.apache.flink.cdc.runtime.serializer.MapSerializer.MapSerializerSnapshot<K,V>
-
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Map<K,V>>
- Enclosing class:
- MapSerializer<K,V>
public static final class MapSerializer.MapSerializerSnapshot<K,V> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
Snapshot class for theMapSerializer.
-
-
Constructor Summary
Constructors Constructor Description MapSerializerSnapshot()Constructor for read instantiation.MapSerializerSnapshot(MapSerializer<K,V> mapSerializer)Constructor to create the snapshot for writing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MapSerializer<K,V>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)intgetCurrentOuterSnapshotVersion()org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>getKeySerializerSnapshot()protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(MapSerializer<K,V> outerSerializer)-
Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
-
-
-
-
Constructor Detail
-
MapSerializerSnapshot
public MapSerializerSnapshot()
Constructor for read instantiation.
-
MapSerializerSnapshot
public MapSerializerSnapshot(MapSerializer<K,V> mapSerializer)
Constructor to create the snapshot for writing.
-
-
Method Detail
-
getCurrentOuterSnapshotVersion
public int getCurrentOuterSnapshotVersion()
-
createOuterSerializerWithNestedSerializers
protected MapSerializer<K,V> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(MapSerializer<K,V> outerSerializer)
-
getKeySerializerSnapshot
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K> getKeySerializerSnapshot()
-
-