public class HoodieNoneDecompressor extends Object implements HoodieDecompressor
HoodieDecompressor for CompressionCodec.NONE compression
codec (no compression) by directly reading the input stream.| Constructor and Description |
|---|
HoodieNoneDecompressor() |
| Modifier and Type | Method and Description |
|---|---|
int |
decompress(InputStream compressedInput,
byte[] targetByteArray,
int offset,
int length)
Decompresses the data from
InputStream and writes the decompressed data to the target
byte array. |
public int decompress(InputStream compressedInput, byte[] targetByteArray, int offset, int length) throws IOException
HoodieDecompressorInputStream and writes the decompressed data to the target
byte array.decompress in interface HoodieDecompressorcompressedInput - compressed data in InputStream.targetByteArray - target byte array to store the decompressed data.offset - offset in the target byte array to start to write data.length - maximum amount of decompressed data to write.IOException - upon error.Copyright © 2024 The Apache Software Foundation. All rights reserved.