static class CellCodec.CellEncoder extends BaseEncoder
flushed, out| Constructor and Description |
|---|
CellEncoder(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
private void |
write(byte[] bytes,
int offset,
int length)
Write int length followed by array bytes.
|
void |
write(Cell cell)
Implementation must copy the entire state of the Cell.
|
checkFlushed, flush, getOuputStreamCellEncoder(OutputStream out)
public void write(Cell cell) throws IOException
CellOutputStreamwrite in interface CellOutputStreamwrite in class BaseEncodercell - Cell to write outIOExceptionprivate void write(byte[] bytes, int offset, int length) throws IOException
bytes - offset - length - IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.