static class WALCellCodec.CompressedKvEncoder extends BaseEncoder
| Modifier and Type | Field and Description |
|---|---|
private CompressionContext |
compression |
private boolean |
hasTagCompression |
private boolean |
hasValueCompression |
flushed, out| Constructor and Description |
|---|
CompressedKvEncoder(OutputStream out,
CompressionContext compression) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Cell cell)
Implementation must copy the entire state of the Cell.
|
private void |
writeCompressedValue(OutputStream out,
Cell cell) |
checkFlushed, flush, getOuputStreamprivate final CompressionContext compression
private final boolean hasValueCompression
private final boolean hasTagCompression
public CompressedKvEncoder(OutputStream out, CompressionContext compression)
public void write(Cell cell) throws IOException
CellOutputStreamwrite in interface CellOutputStreamwrite in class BaseEncodercell - Cell to write out nIOExceptionprivate void writeCompressedValue(OutputStream out, Cell cell) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.