public static class KeyValueCodec.KeyValueEncoder extends BaseEncoder
flushed, out
Constructor and Description |
---|
KeyValueCodec.KeyValueEncoder(DataOutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
write(KeyValue kv)
Implementation must copy the entire state of the cell.
|
checkFlushed, flush
public KeyValueCodec.KeyValueEncoder(DataOutputStream out)
public void write(KeyValue kv) throws IOException
Encoder
write
in interface Encoder
write
in class BaseEncoder
kv
- cell to serializeIOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.