Package org.apache.flink.table.dataview
Class MapViewSerializerSnapshot<K,V>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<MapView<K,V>,MapViewSerializer<K,V>>
-
- org.apache.flink.table.dataview.MapViewSerializerSnapshot<K,V>
-
- Type Parameters:
K
- the key type of the map entries.V
- the value type of the map entries.
- All Implemented Interfaces:
TypeSerializerSnapshot<MapView<K,V>>
@Internal @Deprecated public class MapViewSerializerSnapshot<K,V> extends CompositeTypeSerializerSnapshot<MapView<K,V>,MapViewSerializer<K,V>>
Deprecated.ATypeSerializerSnapshot
for theMapViewSerializer
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
-
-
Constructor Summary
Constructors Constructor Description MapViewSerializerSnapshot()
Deprecated.Constructor for read instantiation.MapViewSerializerSnapshot(MapViewSerializer<K,V> mapViewSerializer)
Deprecated.Constructor to create the snapshot for writing.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MapViewSerializer<K,V>
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Deprecated.Creates an instance of the outer serializer with a given array of its nested serializers.int
getCurrentOuterSnapshotVersion()
Deprecated.Returns the version of the current outer snapshot's written binary format.protected TypeSerializer<?>[]
getNestedSerializers(MapViewSerializer<K,V> outerSerializer)
Deprecated.Gets the nested serializers from the outer serializer.-
Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
-
-
-
-
Constructor Detail
-
MapViewSerializerSnapshot
public MapViewSerializerSnapshot()
Deprecated.Constructor for read instantiation.
-
MapViewSerializerSnapshot
public MapViewSerializerSnapshot(MapViewSerializer<K,V> mapViewSerializer)
Deprecated.Constructor to create the snapshot for writing.
-
-
Method Detail
-
getCurrentOuterSnapshotVersion
public int getCurrentOuterSnapshotVersion()
Deprecated.Description copied from class:CompositeTypeSerializerSnapshot
Returns the version of the current outer snapshot's written binary format.- Specified by:
getCurrentOuterSnapshotVersion
in classCompositeTypeSerializerSnapshot<MapView<K,V>,MapViewSerializer<K,V>>
- Returns:
- the version of the current outer snapshot's written binary format.
-
createOuterSerializerWithNestedSerializers
protected MapViewSerializer<K,V> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Deprecated.Description copied from class:CompositeTypeSerializerSnapshot
Creates an instance of the outer serializer with a given array of its nested serializers.- Specified by:
createOuterSerializerWithNestedSerializers
in classCompositeTypeSerializerSnapshot<MapView<K,V>,MapViewSerializer<K,V>>
- Parameters:
nestedSerializers
- array of nested serializers to create the outer serializer with.- Returns:
- an instance of the outer serializer.
-
getNestedSerializers
protected TypeSerializer<?>[] getNestedSerializers(MapViewSerializer<K,V> outerSerializer)
Deprecated.Description copied from class:CompositeTypeSerializerSnapshot
Gets the nested serializers from the outer serializer.- Specified by:
getNestedSerializers
in classCompositeTypeSerializerSnapshot<MapView<K,V>,MapViewSerializer<K,V>>
- Parameters:
outerSerializer
- the outer serializer.- Returns:
- the nested serializers.
-
-