| Package | Description |
|---|---|
| org.apache.hadoop.io.compress | |
| org.apache.hadoop.io.compress.bzip2 |
Implementation of compression/decompression for the BZip2
compression algorithm.
|
| org.apache.hadoop.io.compress.lz4 |
Implementation of compression/decompression for the LZ4
compression algorithm.
|
| org.apache.hadoop.io.compress.snappy |
Implementation of compression/decompression for the Snappy
compression algorithm.
|
| org.apache.hadoop.io.compress.zlib |
Implementation of compression/decompression based on the popular
gzip compressed file format.
|
| org.apache.hadoop.io.compress.zstd |
Implementation of compression/decompression based on the zStandard
compression algorithm.
|
| org.apache.hadoop.io.file.tfile |
| Modifier and Type | Field | Description |
|---|---|---|
protected Compressor |
CompressorStream.compressor |
| Modifier and Type | Method | Description |
|---|---|---|
Compressor |
BZip2Codec.createCompressor() |
Create a new
Compressor for use by this CompressionCodec. |
Compressor |
CompressionCodec.createCompressor() |
Create a new
Compressor for use by this CompressionCodec. |
Compressor |
DefaultCodec.createCompressor() |
|
Compressor |
GzipCodec.createCompressor() |
|
Compressor |
Lz4Codec.createCompressor() |
Create a new
Compressor for use by this CompressionCodec. |
Compressor |
PassthroughCodec.createCompressor() |
|
Compressor |
SnappyCodec.createCompressor() |
Create a new
Compressor for use by this CompressionCodec. |
Compressor |
ZStandardCodec.createCompressor() |
Create a new
Compressor for use by this CompressionCodec. |
static Compressor |
CodecPool.getCompressor(CompressionCodec codec) |
|
static Compressor |
CodecPool.getCompressor(CompressionCodec codec,
Configuration conf) |
Get a
Compressor for the given CompressionCodec from the
pool or a new one. |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class<? extends Compressor> |
BZip2Codec.getCompressorType() |
Get the type of
Compressor needed by this CompressionCodec. |
java.lang.Class<? extends Compressor> |
CompressionCodec.getCompressorType() |
Get the type of
Compressor needed by this CompressionCodec. |
java.lang.Class<? extends Compressor> |
DefaultCodec.getCompressorType() |
|
java.lang.Class<? extends Compressor> |
GzipCodec.getCompressorType() |
|
java.lang.Class<? extends Compressor> |
Lz4Codec.getCompressorType() |
Get the type of
Compressor needed by this CompressionCodec. |
java.lang.Class<? extends Compressor> |
PassthroughCodec.getCompressorType() |
|
java.lang.Class<? extends Compressor> |
SnappyCodec.getCompressorType() |
Get the type of
Compressor needed by this CompressionCodec. |
java.lang.Class<? extends Compressor> |
ZStandardCodec.getCompressorType() |
Get the type of
Compressor needed by this CompressionCodec. |
| Modifier and Type | Method | Description |
|---|---|---|
CompressionOutputStream |
BZip2Codec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor. |
CompressionOutputStream |
CompressionCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor. |
CompressionOutputStream |
DefaultCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
|
CompressionOutputStream |
GzipCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
|
CompressionOutputStream |
Lz4Codec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor. |
CompressionOutputStream |
PassthroughCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
|
CompressionOutputStream |
SnappyCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor. |
CompressionOutputStream |
ZStandardCodec.createOutputStream(java.io.OutputStream out,
Compressor compressor) |
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor. |
static void |
CodecPool.returnCompressor(Compressor compressor) |
Return the
Compressor to the pool. |
| Constructor | Description |
|---|---|
BlockCompressorStream(java.io.OutputStream out,
Compressor compressor) |
Create a
BlockCompressorStream with given output-stream and
compressor. |
BlockCompressorStream(java.io.OutputStream out,
Compressor compressor,
int bufferSize,
int compressionOverhead) |
Create a
BlockCompressorStream. |
CompressorStream(java.io.OutputStream out,
Compressor compressor) |
|
CompressorStream(java.io.OutputStream out,
Compressor compressor,
int bufferSize) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
Bzip2Compressor |
A
Compressor based on the popular
bzip2 compression algorithm. |
class |
BZip2DummyCompressor |
This is a dummy compressor for BZip2.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Compressor |
Bzip2Factory.getBzip2Compressor(Configuration conf) |
Return the appropriate implementation of the bzip2 compressor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Class<? extends Compressor> |
Bzip2Factory.getBzip2CompressorType(Configuration conf) |
Return the appropriate type of the bzip2 compressor.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
Lz4Compressor |
A
Compressor based on the lz4 compression algorithm. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SnappyCompressor |
A
Compressor based on the snappy compression algorithm. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BuiltInGzipCompressor |
A
Compressor based on the popular gzip compressed file format. |
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 | Description |
|---|---|---|
static Compressor |
ZlibFactory.getZlibCompressor(Configuration conf) |
Return the appropriate implementation of the zlib compressor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Class<? extends Compressor> |
ZlibFactory.getZlibCompressorType(Configuration conf) |
Return the appropriate type of the zlib compressor.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
ZStandardCompressor |
A
Compressor based on the zStandard compression algorithm. |
| Modifier and Type | Method | Description |
|---|---|---|
Compressor |
Compression.Algorithm.getCompressor() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.io.OutputStream |
Compression.Algorithm.createCompressionStream(java.io.OutputStream downStream,
Compressor compressor,
int downStreamBufferSize) |
|
void |
Compression.Algorithm.returnCompressor(Compressor compressor) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.