static class WALCellCodec.CompressedKvEncoder extends BaseEncoder
| Modifier and Type | Field and Description |
|---|---|
private CompressionContext |
compression |
flushed, out| Constructor and Description |
|---|
WALCellCodec.CompressedKvEncoder(OutputStream out,
CompressionContext compression) |
| Modifier and Type | Method and Description |
|---|---|
private void |
write(byte[] data,
int offset,
int length,
Dictionary dict) |
void |
write(Cell cell)
Implementation must copy the entire state of the Cell.
|
checkFlushed, flush, getOuputStreamprivate final CompressionContext compression
public WALCellCodec.CompressedKvEncoder(OutputStream out, CompressionContext compression)
public void write(Cell cell) throws IOException
CellOutputStreamwrite in interface CellOutputStreamwrite in class BaseEncodercell - Cell to write outIOExceptionprivate void write(byte[] data,
int offset,
int length,
Dictionary dict)
throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.