Modifier and Type | Field and Description |
---|---|
protected Decompressor |
DecompressorStream.decompressor |
Modifier and Type | Method and Description |
---|---|
Decompressor |
SnappyCodec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
Decompressor |
Lz4Codec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
Decompressor |
GzipCodec.createDecompressor() |
Decompressor |
DefaultCodec.createDecompressor() |
Decompressor |
CompressionCodec.createDecompressor()
Create a new
Decompressor for use by this CompressionCodec . |
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> |
SnappyCodec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
Lz4Codec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
GzipCodec.getDecompressorType() |
Class<? extends Decompressor> |
DefaultCodec.getDecompressorType() |
Class<? extends Decompressor> |
CompressionCodec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Class<? extends Decompressor> |
BZip2Codec.getDecompressorType()
Get the type of
Decompressor needed by this CompressionCodec . |
Modifier and Type | Method and Description |
---|---|
CompressionInputStream |
SnappyCodec.createInputStream(InputStream in,
Decompressor decompressor)
Create a
CompressionInputStream that will read from the given
InputStream with the given Decompressor . |
CompressionInputStream |
Lz4Codec.createInputStream(InputStream in,
Decompressor decompressor)
Create a
CompressionInputStream that will read from the given
InputStream with the given Decompressor . |
CompressionInputStream |
GzipCodec.createInputStream(InputStream in,
Decompressor decompressor) |
CompressionInputStream |
DefaultCodec.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 |
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,
SplittableCompressionCodec.READ_MODE readMode)
Create a stream as dictated by the readMode.
|
SplitCompressionInputStream |
BZip2Codec.createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
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) |
Modifier and Type | Class and Description |
---|---|
class |
Bzip2Decompressor
A
Decompressor based on the popular
bzip2 compression algorithm. |
class |
BZip2DummyDecompressor
This is a dummy decompressor for BZip2.
|
Modifier and Type | Method and Description |
---|---|
static Decompressor |
Bzip2Factory.getBzip2Decompressor(Configuration conf)
Return the appropriate implementation of the bzip2 decompressor.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Decompressor> |
Bzip2Factory.getBzip2DecompressorType(Configuration conf)
Return the appropriate type of the bzip2 decompressor.
|
Modifier and Type | Class and Description |
---|---|
class |
Lz4Decompressor
A
Decompressor based on the lz4 compression algorithm. |
Modifier and Type | Class and Description |
---|---|
class |
SnappyDecompressor
A
Decompressor based on the snappy compression algorithm. |
static class |
SnappyDecompressor.SnappyDirectDecompressor |
Modifier and Type | Class and Description |
---|---|
class |
BuiltInGzipDecompressor
A
Decompressor based on the popular gzip compressed file format. |
class |
BuiltInZlibInflater
A wrapper around java.util.zip.Inflater to make it conform
to org.apache.hadoop.io.compress.Decompressor interface.
|
class |
ZlibDecompressor
A
Decompressor based on the popular
zlib compression algorithm. |
static class |
ZlibDecompressor.ZlibDirectDecompressor |
Modifier and Type | Method and Description |
---|---|
static Decompressor |
ZlibFactory.getZlibDecompressor(Configuration conf)
Return the appropriate implementation of the zlib decompressor.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Decompressor> |
ZlibFactory.getZlibDecompressorType(Configuration conf)
Return the appropriate type of the zlib decompressor.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.