Package | Description |
---|---|
org.apache.hadoop.io.compress |
Modifier and Type | Field and Description |
---|---|
protected Decompressor |
DecompressorStream.decompressor |
Modifier and Type | Method and Description |
---|---|
Decompressor |
BZip2Codec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
Decompressor |
CompressionCodec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
Decompressor |
DefaultCodec.createDecompressor() |
Decompressor |
GzipCodec.createDecompressor() |
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> |
BZip2Codec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
CompressionCodec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
DefaultCodec.getDecompressorType() |
Class<? extends Decompressor> |
GzipCodec.getDecompressorType() |
Modifier and Type | Method and Description |
---|---|
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. |
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) |
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.
|
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.
|
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 © 2018 Apache Software Foundation. All rights reserved.