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