public interface SplittableCompressionCodec extends CompressionCodec
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
SplittableCompressionCodec.READ_MODE
During decompression, data can be read off from the decompressor in two
modes, namely continuous and blocked.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SplitCompressionInputStream |
createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
SplittableCompressionCodec.READ_MODE readMode)
Create a stream as dictated by the readMode.
|
createCompressor, createDecompressor, createInputStream, createInputStream, createOutputStream, createOutputStream, getCompressorType, getDecompressorType, getDefaultExtensionSplitCompressionInputStream createInputStream(InputStream seekableIn, Decompressor decompressor, long start, long end, SplittableCompressionCodec.READ_MODE readMode) throws IOException
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.IOExceptionCopyright © 2009 The Apache Software Foundation