Package | Description |
---|---|
org.apache.hadoop.io.compress | |
org.apache.hadoop.io.compress.bzip2 | |
org.apache.hadoop.io.compress.zlib |
Modifier and Type | Field and Description |
---|---|
protected Compressor |
CompressorStream.compressor |
Modifier and Type | Method and Description |
---|---|
Compressor |
BZip2Codec.createCompressor()
This functionality is currently not supported.
|
Compressor |
CompressionCodec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
Compressor |
GzipCodec.createCompressor() |
Compressor |
DefaultCodec.createCompressor() |
static Compressor |
CodecPool.getCompressor(CompressionCodec codec)
Get a
Compressor for the given CompressionCodec from the
pool or a new one. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Compressor> |
BZip2Codec.getCompressorType()
This functionality is currently not supported.
|
Class<? extends Compressor> |
CompressionCodec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Class<? extends Compressor> |
GzipCodec.getCompressorType() |
Class<? extends Compressor> |
DefaultCodec.getCompressorType() |
Modifier and Type | Method and Description |
---|---|
CompressionOutputStream |
BZip2Codec.createOutputStream(OutputStream out,
Compressor compressor)
This functionality is currently not supported.
|
CompressionOutputStream |
CompressionCodec.createOutputStream(OutputStream out,
Compressor compressor)
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor . |
CompressionOutputStream |
GzipCodec.createOutputStream(OutputStream out,
Compressor compressor) |
CompressionOutputStream |
DefaultCodec.createOutputStream(OutputStream out,
Compressor compressor) |
static void |
CodecPool.returnCompressor(Compressor compressor)
Return the
Compressor to the pool. |
Constructor and Description |
---|
BlockCompressorStream(OutputStream out,
Compressor compressor)
Create a
BlockCompressorStream with given output-stream and
compressor. |
BlockCompressorStream(OutputStream out,
Compressor compressor,
int bufferSize,
int compressionOverhead)
Create a
BlockCompressorStream . |
CompressorStream(OutputStream out,
Compressor compressor) |
CompressorStream(OutputStream out,
Compressor compressor,
int bufferSize) |
Modifier and Type | Class and Description |
---|---|
class |
BZip2DummyCompressor
This is a dummy compressor for BZip2.
|
Modifier and Type | Class and Description |
---|---|
class |
BuiltInZlibDeflater
A wrapper around java.util.zip.Deflater to make it conform
to org.apache.hadoop.io.compress.Compressor interface.
|
class |
ZlibCompressor
A
Compressor based on the popular
zlib compression algorithm. |
Modifier and Type | Method and Description |
---|---|
static Compressor |
ZlibFactory.getZlibCompressor(Configuration conf)
Return the appropriate implementation of the zlib compressor.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Compressor> |
ZlibFactory.getZlibCompressorType(Configuration conf)
Return the appropriate type of the zlib compressor.
|
Copyright © 2010 The Apache Software Foundation