public class MapSerializerSnapshot<K,V> extends CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
MapSerializer
.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
Constructor and Description |
---|
MapSerializerSnapshot()
Constructor for read instantiation.
|
MapSerializerSnapshot(MapSerializer<K,V> mapSerializer)
Constructor to create the snapshot for writing.
|
Modifier and Type | Method and Description |
---|---|
protected MapSerializer<K,V> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
TypeSerializerSnapshot<K> |
getKeySerializerSnapshot() |
protected TypeSerializer<?>[] |
getNestedSerializers(MapSerializer<K,V> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public MapSerializerSnapshot()
public MapSerializerSnapshot(MapSerializer<K,V> mapSerializer)
public int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
protected MapSerializer<K,V> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
nestedSerializers
- array of nested serializers to create the outer serializer with.protected TypeSerializer<?>[] getNestedSerializers(MapSerializer<K,V> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<Map<K,V>,MapSerializer<K,V>>
outerSerializer
- the outer serializer.public TypeSerializerSnapshot<K> getKeySerializerSnapshot()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.