Class LinkedListSerializer.LinkedListSerializerSnapshot<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
-
- org.apache.flink.table.runtime.typeutils.LinkedListSerializer.LinkedListSerializerSnapshot<T>
-
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<LinkedList<T>>
- Enclosing class:
- LinkedListSerializer<T>
public static class LinkedListSerializer.LinkedListSerializerSnapshot<T> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
Snapshot class for theLinkedListSerializer.
-
-
Constructor Summary
Constructors Constructor Description LinkedListSerializerSnapshot()Constructor for read instantiation.LinkedListSerializerSnapshot(LinkedListSerializer<T> listSerializer)Constructor to create the snapshot for writing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LinkedListSerializer<T>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)intgetCurrentOuterSnapshotVersion()protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(LinkedListSerializer<T> outerSerializer)protected voidreadOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader)protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibilityresolveOuterSchemaCompatibility(LinkedListSerializer<T> newSerializer)protected voidwriteOuterSnapshot(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Constructor Detail
-
LinkedListSerializerSnapshot
public LinkedListSerializerSnapshot()
Constructor for read instantiation.
-
LinkedListSerializerSnapshot
public LinkedListSerializerSnapshot(LinkedListSerializer<T> listSerializer)
Constructor to create the snapshot for writing.
-
-
Method Detail
-
getCurrentOuterSnapshotVersion
public int getCurrentOuterSnapshotVersion()
- Specified by:
getCurrentOuterSnapshotVersionin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
-
readOuterSnapshot
protected void readOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) throws IOException- Overrides:
readOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>- Throws:
IOException
-
writeOuterSnapshot
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException- Overrides:
writeOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>- Throws:
IOException
-
resolveOuterSchemaCompatibility
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(LinkedListSerializer<T> newSerializer)
- Overrides:
resolveOuterSchemaCompatibilityin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
-
createOuterSerializerWithNestedSerializers
protected LinkedListSerializer<T> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
- Specified by:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(LinkedListSerializer<T> outerSerializer)
- Specified by:
getNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<LinkedList<T>,LinkedListSerializer<T>>
-
-