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, getOuputStream
private final CompressionContext compression
public WALCellCodec.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
private void write(byte[] data, int offset, int length, Dictionary dict) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.