程序包 | 说明 |
---|---|
org.apache.hadoop.io.compress | |
org.apache.hadoop.io.compress.bzip2 | |
org.apache.hadoop.io.compress.snappy | |
org.apache.hadoop.io.compress.zlib |
限定符和类型 | 字段和说明 |
---|---|
protected Decompressor |
DecompressorStream.decompressor |
限定符和类型 | 方法和说明 |
---|---|
Decompressor |
SnappyCodec.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()
This functionality is currently not supported.
|
static Decompressor |
CodecPool.getDecompressor(CompressionCodec codec)
Get a
Decompressor for the given CompressionCodec from the
pool or a new one. |
限定符和类型 | 方法和说明 |
---|---|
Class<? extends Decompressor> |
SnappyCodec.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()
This functionality is currently not supported.
|
限定符和类型 | 方法和说明 |
---|---|
CompressionInputStream |
SnappyCodec.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)
This functionality is currently not supported.
|
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. i.e.
|
static void |
CodecPool.returnDecompressor(Decompressor decompressor)
Return the
Decompressor to the pool. |
构造器和说明 |
---|
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) |
限定符和类型 | 类和说明 |
---|---|
class |
BZip2DummyDecompressor
This is a dummy decompressor for BZip2.
|
限定符和类型 | 类和说明 |
---|---|
class |
SnappyDecompressor
A
Decompressor based on the snappy compression algorithm. |
限定符和类型 | 类和说明 |
---|---|
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 Decompressor |
ZlibFactory.getZlibDecompressor(Configuration conf)
Return the appropriate implementation of the zlib decompressor.
|
限定符和类型 | 方法和说明 |
---|---|
static Class<? extends Decompressor> |
ZlibFactory.getZlibDecompressorType(Configuration conf)
Return the appropriate type of the zlib decompressor.
|
Copyright © 2009 The Apache Software Foundation