Package org.apache.flink.runtime.state
Class ArrayListSerializerSnapshot<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<ArrayList<T>,ArrayListSerializer<T>>
-
- org.apache.flink.runtime.state.ArrayListSerializerSnapshot<T>
-
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ArrayList<T>>
public class ArrayListSerializerSnapshot<T> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<ArrayList<T>,ArrayListSerializer<T>>
Snapshot class for theArrayListSerializer
.
-
-
Constructor Summary
Constructors Constructor Description ArrayListSerializerSnapshot()
Constructor for read instantiation.ArrayListSerializerSnapshot(ArrayListSerializer<T> arrayListSerializer)
Constructor for creating the snapshot for writing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayListSerializer<T>
createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
int
getCurrentOuterSnapshotVersion()
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]
getNestedSerializers(ArrayListSerializer<T> outerSerializer)
-
Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
-
-
-
-
Constructor Detail
-
ArrayListSerializerSnapshot
public ArrayListSerializerSnapshot()
Constructor for read instantiation.
-
ArrayListSerializerSnapshot
public ArrayListSerializerSnapshot(ArrayListSerializer<T> arrayListSerializer)
Constructor for creating the snapshot for writing.
-
-
Method Detail
-
getCurrentOuterSnapshotVersion
public int getCurrentOuterSnapshotVersion()
- Specified by:
getCurrentOuterSnapshotVersion
in classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<ArrayList<T>,ArrayListSerializer<T>>
-
createOuterSerializerWithNestedSerializers
protected ArrayListSerializer<T> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
- Specified by:
createOuterSerializerWithNestedSerializers
in classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<ArrayList<T>,ArrayListSerializer<T>>
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(ArrayListSerializer<T> outerSerializer)
- Specified by:
getNestedSerializers
in classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<ArrayList<T>,ArrayListSerializer<T>>
-
-