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, getOuputStream
private final CompressionContext compression
private final boolean hasValueCompression
private final boolean hasTagCompression
public CompressedKvEncoder(OutputStream out, CompressionContext compression)
public void write(Cell cell) throws IOException
CellOutputStream
write
in interface CellOutputStream
write
in class BaseEncoder
cell
- Cell to write out nIOException
private void writeCompressedValue(OutputStream out, Cell cell) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.