public static class KeyValueSerialization.KeyValueSerializer extends Object implements org.apache.hadoop.io.serializer.Serializer<KeyValue>
| Constructor and Description | 
|---|
KeyValueSerializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
void | 
open(OutputStream os)  | 
void | 
serialize(KeyValue kv)  | 
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–2020 The Apache Software Foundation. All rights reserved.