Package | Description |
---|---|
org.apache.hadoop.io.compress |
Modifier and Type | Field and Description |
---|---|
protected Decompressor |
DecompressorStream.decompressor |
Modifier and Type | Method and Description |
---|---|
Decompressor |
PassthroughCodec.createDecompressor() |
Decompressor |
CompressionCodec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
Decompressor |
DefaultCodec.createDecompressor() |
Decompressor |
GzipCodec.createDecompressor() |
Decompressor |
BZip2Codec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
static Decompressor |
CodecPool.getDecompressor(CompressionCodec codec)
Get a
Decompressor for the given CompressionCodec from the
pool or a new one. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Decompressor> |
PassthroughCodec.getDecompressorType() |
Class<? extends Decompressor> |
CompressionCodec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
DefaultCodec.getDecompressorType() |
Class<? extends Decompressor> |
GzipCodec.getDecompressorType() |
Class<? extends Decompressor> |
BZip2Codec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Modifier and Type | Method and Description |
---|---|
CompressionInputStream |
PassthroughCodec.createInputStream(InputStream in,
Decompressor decompressor) |
CompressionInputStream |
CompressionCodec.createInputStream(InputStream in,
Decompressor decompressor)
Create a
CompressionInputStream that will read from the given
InputStream with the given Decompressor . |
CompressionInputStream |
DefaultCodec.createInputStream(InputStream in,
Decompressor decompressor) |
CompressionInputStream |
GzipCodec.createInputStream(InputStream in,
Decompressor decompressor) |
CompressionInputStream |
BZip2Codec.createInputStream(InputStream in,
Decompressor decompressor)
Create a
CompressionInputStream that will read from the given
InputStream with the given Decompressor , and return a
stream for uncompressed data. |
SplitCompressionInputStream |
SplittableCompressionCodec.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.
|
SplitCompressionInputStream |
BZip2Codec.createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
org.apache.hadoop.io.compress.SplittableCompressionCodec.READ_MODE readMode)
Creates CompressionInputStream to be used to read off uncompressed data
in one of the two reading modes.
|
static void |
CodecPool.returnDecompressor(Decompressor decompressor)
Return the
Decompressor to the pool. |
Constructor and Description |
---|
BlockDecompressorStream(InputStream in,
Decompressor decompressor)
Create a
BlockDecompressorStream . |
BlockDecompressorStream(InputStream in,
Decompressor decompressor,
int bufferSize)
Create a
BlockDecompressorStream . |
DecompressorStream(InputStream in,
Decompressor decompressor) |
DecompressorStream(InputStream in,
Decompressor decompressor,
int bufferSize) |
Copyright © 2023 Apache Software Foundation. All rights reserved.