public class AirBlockDecompressor extends Object implements BlockDecompressor
BlockDecompressor for airlift compressors.| Constructor and Description |
|---|
AirBlockDecompressor(io.airlift.compress.Decompressor internalDecompressor) |
| Modifier and Type | Method and Description |
|---|---|
int |
decompress(byte[] src,
int srcOff,
int srcLen,
byte[] dst,
int dstOff)
Decompress source data read from src and write the decompressed data to dst.
|
public AirBlockDecompressor(io.airlift.compress.Decompressor internalDecompressor)
public int decompress(byte[] src,
int srcOff,
int srcLen,
byte[] dst,
int dstOff)
throws BufferDecompressionException
BlockDecompressordecompress in interface BlockDecompressorsrc - Compressed data to read fromsrcOff - The start offset of compressed datasrcLen - The length of data which want to be decompresseddst - The target to write decompressed datadstOff - The start offset to write the decompressed dataBufferDecompressionException - if exception thrown when decompressingCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.