public static class KeyValueSerialization.KeyValueSerializer extends Object implements org.apache.hadoop.io.serializer.Serializer<KeyValue>
| Modifier and Type | Field and Description |
|---|---|
private DataOutputStream |
dos |
| Constructor and Description |
|---|
KeyValueSerialization.KeyValueSerializer() |
private DataOutputStream dos
public KeyValueSerialization.KeyValueSerializer()
public void close()
throws IOException
close in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>IOExceptionpublic void open(OutputStream os) throws IOException
open in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>IOExceptionpublic void serialize(KeyValue kv) throws IOException
serialize in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.