Class ValueSerializer.ValueSerializerSnapshot<T extends Value>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.GenericTypeSerializerSnapshot<T,ValueSerializer>
-
- org.apache.flink.api.java.typeutils.runtime.ValueSerializer.ValueSerializerSnapshot<T>
-
- All Implemented Interfaces:
TypeSerializerSnapshot<T>
- Enclosing class:
- ValueSerializer<T extends Value>
public static final class ValueSerializer.ValueSerializerSnapshot<T extends Value> extends GenericTypeSerializerSnapshot<T,ValueSerializer>
ValueSerializersnapshot class.
-
-
Constructor Summary
Constructors Constructor Description ValueSerializerSnapshot()
-
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(ValueSerializer 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 Value,ValueSerializer>
-
getTypeClass
protected Class<T> getTypeClass(ValueSerializer serializer)
Description copied from class:GenericTypeSerializerSnapshotGets the type class from the corresponding serializer.- Specified by:
getTypeClassin classGenericTypeSerializerSnapshot<T extends Value,ValueSerializer>
-
serializerClass
protected Class<?> serializerClass()
Description copied from class:GenericTypeSerializerSnapshotGets the serializer's class.- Specified by:
serializerClassin classGenericTypeSerializerSnapshot<T extends Value,ValueSerializer>
-
-