@Internal public class LockableTypeSerializerSnapshot<E> extends CompositeTypeSerializerSnapshot<Lockable<E>,Lockable.LockableTypeSerializer<E>>
CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
Constructor and Description |
---|
LockableTypeSerializerSnapshot()
Constructor for read instantiation.
|
LockableTypeSerializerSnapshot(Lockable.LockableTypeSerializer<E> lockableTypeSerializer)
Constructor to create the snapshot for writing.
|
Modifier and Type | Method and Description |
---|---|
protected Lockable.LockableTypeSerializer<E> |
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.
|
protected TypeSerializer<?>[] |
getNestedSerializers(Lockable.LockableTypeSerializer<E> 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 LockableTypeSerializerSnapshot()
public LockableTypeSerializerSnapshot(Lockable.LockableTypeSerializer<E> lockableTypeSerializer)
public int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<Lockable<E>,Lockable.LockableTypeSerializer<E>>
protected Lockable.LockableTypeSerializer<E> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<Lockable<E>,Lockable.LockableTypeSerializer<E>>
nestedSerializers
- array of nested serializers to create the outer serializer with.protected TypeSerializer<?>[] getNestedSerializers(Lockable.LockableTypeSerializer<E> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<Lockable<E>,Lockable.LockableTypeSerializer<E>>
outerSerializer
- the outer serializer.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.