public class KryoAvroSerializer<O>
extends com.esotericsoftware.kryo.Serializer<O>
| Constructor and Description |
|---|
KryoAvroSerializer(AvroWriter<O> writer,
AvroReader<O> reader)
Build a serializer that fowards the serialization to the
writer
and read |
| Modifier and Type | Method and Description |
|---|---|
O |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<O> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
O object) |
public KryoAvroSerializer(AvroWriter<O> writer, AvroReader<O> reader)
writer
and readwriter - the Avro writerreader - the Avro readerCopyright © 2016. All Rights Reserved.