## Package org.apache.hadoop.io.compress

Interface Summary
CompressionCodec: This class encapsulates a streaming compression/decompression pair.
Compressor: Specification of a stream-based 'compressor' which can be plugged into a `CompressionOutputStream` to compress data.
Decompressor: Specification of a stream-based 'de-compressor' which can be plugged into a `CompressionInputStream` to compress data.
SplittableCompressionCodec: This interface is meant to be implemented by those compression codecs which are capable to compress / decompress a stream starting at any arbitrary position.

Class Summary
BlockCompressorStream: A `CompressorStream` which works with 'block-based' based compression algorithms, as opposed to 'stream-based' compression algorithms.
BlockDecompressorStream: A `DecompressorStream` which works with 'block-based' based compression algorithms, as opposed to 'stream-based' compression algorithms.
BZip2Codec: This class provides CompressionOutputStream and CompressionInputStream for compression and decompression.
CodecPool: A global compressor/decompressor pool used to save and reuse (possibly native) compression/decompression codecs.
CompressionCodecFactory: A factory that will find the correct codec for a given filename.
CompressionInputStream: A compression input stream.
CompressionOutputStream: A compression output stream.
CompressorStream
DecompressorStream
DefaultCodec
GzipCodec: This class creates gzip compressors/decompressors.
GzipCodec.GzipOutputStream: A bridge that wraps around a DeflaterOutputStream to make it a CompressionOutputStream.
SnappyCodec: This class creates snappy compressors/decompressors.
SplitCompressionInputStream: An InputStream covering a range of compressed data.

Enum Summary
SplittableCompressionCodec.READ_MODE: During decompression, data can be read off from the decompressor in two modes, namely continuous and blocked.

Annotation Types Summary
DoNotPool: This is a marker annotation that marks a compressor or decompressor type as not to be pooled.

Copyright © 2009 The Apache Software Foundation