@InterfaceAudience.Private public class BlockDecompressorHelper extends Object
BlockCompressorStream, or is at least in the same format.
Parses the binary format and delegates actual decompression work to the provided
BlockDecompressorHelper.RawDecompressor. Note that the use of the word "block" here does not refer to an HFile
block.| Modifier and Type | Class and Description |
|---|---|
static interface |
BlockDecompressorHelper.RawDecompressor |
| Constructor and Description |
|---|
BlockDecompressorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
decompress(ByteBuff output,
ByteBuff input,
int inputSize,
BlockDecompressorHelper.RawDecompressor rawDecompressor) |
public static int decompress(ByteBuff output, ByteBuff input, int inputSize, BlockDecompressorHelper.RawDecompressor rawDecompressor) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.