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