Class CopyableValueSerializer.CopyableValueSerializerSnapshot<T extends CopyableValue<T>>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.GenericTypeSerializerSnapshot<T,CopyableValueSerializer>
-
- org.apache.flink.api.java.typeutils.runtime.CopyableValueSerializer.CopyableValueSerializerSnapshot<T>
-
- All Implemented Interfaces:
TypeSerializerSnapshot<T>
- Enclosing class:
- CopyableValueSerializer<T extends CopyableValue<T>>
public static final class CopyableValueSerializer.CopyableValueSerializerSnapshot<T extends CopyableValue<T>> extends GenericTypeSerializerSnapshot<T,CopyableValueSerializer>
TypeSerializerSnapshotfor theCopyableValueSerializer.
-
-
Constructor Summary
Constructors Constructor Description CopyableValueSerializerSnapshot()Used for reflective instantiation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TypeSerializer<T>createSerializer(Class<T> typeClass)Create a serializer that is able to serialize the generic typetypeClass.protected Class<T>getTypeClass(CopyableValueSerializer serializer)Gets the type class from the corresponding serializer.protected Class<?>serializerClass()Gets the serializer's class.-
Methods inherited from class org.apache.flink.api.common.typeutils.GenericTypeSerializerSnapshot
getCurrentVersion, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
-
-
-
-
Method Detail
-
createSerializer
protected TypeSerializer<T> createSerializer(Class<T> typeClass)
Description copied from class:GenericTypeSerializerSnapshotCreate a serializer that is able to serialize the generic typetypeClass.- Specified by:
createSerializerin classGenericTypeSerializerSnapshot<T extends CopyableValue<T>,CopyableValueSerializer>
-
getTypeClass
protected Class<T> getTypeClass(CopyableValueSerializer serializer)
Description copied from class:GenericTypeSerializerSnapshotGets the type class from the corresponding serializer.- Specified by:
getTypeClassin classGenericTypeSerializerSnapshot<T extends CopyableValue<T>,CopyableValueSerializer>
-
serializerClass
protected Class<?> serializerClass()
Description copied from class:GenericTypeSerializerSnapshotGets the serializer's class.- Specified by:
serializerClassin classGenericTypeSerializerSnapshot<T extends CopyableValue<T>,CopyableValueSerializer>
-
-