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>
IOException
public void open(OutputStream os) throws IOException
open
in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>
IOException
public void serialize(KeyValue kv) throws IOException
serialize
in interface org.apache.hadoop.io.serializer.Serializer<KeyValue>
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.