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, getOuputStream
CellEncoder(OutputStream out)
public void write(Cell cell) throws IOException
CellOutputStream
write
in interface CellOutputStream
write
in class BaseEncoder
cell
- Cell to write outIOException
private void write(byte[] bytes, int offset, int length) throws IOException
bytes
- offset
- length
- IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.