public class AirBlockDecompressor extends Object implements BlockDecompressor
Decompressor.| 构造器和说明 |
|---|
AirBlockDecompressor(io.airlift.compress.Decompressor internalDecompressor) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
int |
decompress(ByteBuffer src,
int srcOff,
int srcLen,
ByteBuffer dst,
int dstOff)
Decompress source data read from (
Buffer.position() + srcOff), and write
the decompressed data to dst. |
public AirBlockDecompressor(io.airlift.compress.Decompressor internalDecompressor)
public int decompress(ByteBuffer src, int srcOff, int srcLen, ByteBuffer dst, int dstOff) throws BufferDecompressionException
BlockDecompressorBuffer.position() + srcOff), and write
the decompressed data to dst.decompress 在接口中 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 decompressingpublic int decompress(byte[] src,
int srcOff,
int srcLen,
byte[] dst,
int dstOff)
throws BufferDecompressionException
BlockDecompressordecompress 在接口中 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 © 2014–2022 The Apache Software Foundation. All rights reserved.