Class ValueAndCoderKryoSerializer<T>
java.lang.Object
com.esotericsoftware.kryo.Serializer<ValueAndCoderLazySerializable<T>>
org.apache.beam.runners.spark.translation.ValueAndCoderKryoSerializer<T>
public class ValueAndCoderKryoSerializer<T>
extends com.esotericsoftware.kryo.Serializer<ValueAndCoderLazySerializable<T>>
Kryo serializer for
ValueAndCoderLazySerializable
. *-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<ValueAndCoderLazySerializable<T>> type) void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ValueAndCoderLazySerializable<T> item) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ValueAndCoderKryoSerializer
public ValueAndCoderKryoSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ValueAndCoderLazySerializable<T> item) - Specified by:
write
in classcom.esotericsoftware.kryo.Serializer<ValueAndCoderLazySerializable<T>>
-
read
public ValueAndCoderLazySerializable<T> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<ValueAndCoderLazySerializable<T>> type) - Specified by:
read
in classcom.esotericsoftware.kryo.Serializer<ValueAndCoderLazySerializable<T>>
-