public static final class WritableSerializer.WritableSerializerSnapshot<T extends org.apache.hadoop.io.Writable> extends GenericTypeSerializerSnapshot<T,WritableSerializer>
WritableSerializer
snapshot class.Constructor and Description |
---|
WritableSerializerSnapshot() |
Modifier and Type | Method and Description |
---|---|
protected TypeSerializer<T> |
createSerializer(Class<T> typeClass)
Create a serializer that is able to serialize the generic type
typeClass . |
protected Class<T> |
getTypeClass(WritableSerializer serializer)
Gets the type class from the corresponding serializer.
|
protected Class<?> |
serializerClass()
Gets the serializer's class.
|
getCurrentVersion, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
protected TypeSerializer<T> createSerializer(Class<T> typeClass)
GenericTypeSerializerSnapshot
typeClass
.createSerializer
in class GenericTypeSerializerSnapshot<T extends org.apache.hadoop.io.Writable,WritableSerializer>
protected Class<T> getTypeClass(WritableSerializer serializer)
GenericTypeSerializerSnapshot
getTypeClass
in class GenericTypeSerializerSnapshot<T extends org.apache.hadoop.io.Writable,WritableSerializer>
protected Class<?> serializerClass()
GenericTypeSerializerSnapshot
serializerClass
in class GenericTypeSerializerSnapshot<T extends org.apache.hadoop.io.Writable,WritableSerializer>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.