T
- Object typepublic class ReusableFieldSerializer<T>
extends com.esotericsoftware.kryo.serializers.FieldSerializer<T>
com.esotericsoftware.kryo.serializers.FieldSerializer.Bind, com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField<X>, com.esotericsoftware.kryo.serializers.FieldSerializer.CachedFieldFactory, com.esotericsoftware.kryo.serializers.FieldSerializer.CachedFieldNameStrategy, com.esotericsoftware.kryo.serializers.FieldSerializer.Optional
Constructor and Description |
---|
ReusableFieldSerializer(com.esotericsoftware.kryo.Kryo kryo,
Class type)
Creates new reusable field serializer for a given type.
|
Modifier and Type | Method and Description |
---|---|
protected T |
create(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<T> type) |
void |
setReadIntoObject(T value) |
compare, copy, createCopy, getCachedFieldName, getCopyTransient, getField, getFields, getGenerics, getKryo, getSerializeTransient, getTransientFields, getType, getUseAsmEnabled, getUseMemRegions, initializeCachedFields, read, rebuildCachedFields, rebuildCachedFields, removeField, removeField, setCopyTransient, setFieldsAsAccessible, setFieldsCanBeNull, setFixedFieldTypes, setGenerics, setIgnoreSyntheticFields, setOptimizedGenerics, setSerializeTransient, setUseAsm, write
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ReusableFieldSerializer(com.esotericsoftware.kryo.Kryo kryo, Class type)
kryo
- HadoopKryo objecttype
- Type of objectCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.