static class WALCellCodec.CompressedKvEncoder extends BaseEncoder
Modifier and Type | Field and Description |
---|---|
private CompressionContext |
compression |
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.
|
checkFlushed, flush, getOuputStream
private final CompressionContext compression
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 outIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.