public interface RowSerializer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
serialize(byte[] rowKey,
ResultCell[] cells) |
void |
serialize(byte[] rowKey,
ResultCell[] cells,
java.io.OutputStream out)
Serializes the given row and cells to the provided OutputStream
|
void serialize(byte[] rowKey, ResultCell[] cells, java.io.OutputStream out) throws java.io.IOException
rowKey
- the row's keycells
- the cells to serializeout
- the OutputStream to serialize tojava.io.IOException
- if unable to serialize the rowjava.lang.String serialize(byte[] rowKey, ResultCell[] cells)
rowKey
- the row key of the row being serializedcells
- the cells of the row being serialized