@InterfaceAudience.Public @InterfaceStability.Evolving public interface SplittableCompressionCodec extends CompressionCodec
Modifier and Type | Method and Description |
---|---|
SplitCompressionInputStream |
createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
org.apache.hadoop.io.compress.SplittableCompressionCodec.READ_MODE readMode)
Create a stream as dictated by the readMode.
|
createCompressor, createDecompressor, createInputStream, createInputStream, createOutputStream, createOutputStream, getCompressorType, getDecompressorType, getDefaultExtension
SplitCompressionInputStream createInputStream(InputStream seekableIn, Decompressor decompressor, long start, long end, org.apache.hadoop.io.compress.SplittableCompressionCodec.READ_MODE readMode) throws IOException
decompressor
- decompressor.seekableIn
- The seekable input stream (seeks in compressed data)start
- The start offset into the compressed stream. May be changed
by the underlying codec.end
- The end offset into the compressed stream. May be changed by
the underlying codec.readMode
- Controls whether stream position is reported continuously
from the compressed stream only only at block boundaries.IOException
- raised on errors performing I/O.Copyright © 2024 Apache Software Foundation. All rights reserved.