# Package org.apache.hadoop.io.compress

- Interface Summary
  Interface | Description
  --- | ---
  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.
  DirectDecompressionCodec | This class encapsulates a codec which can decompress direct bytebuffers.
  DirectDecompressor | Specification of a direct ByteBuffer 'de-compressor'.
  SplittableCompressionCodec | This interface is meant to be implemented by those compression codecs which are capable to compress / de-compress a stream starting at any arbitrary position.

- Class Summary
  Class | Description
  --- | ---
  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 output and input streams for bzip2 compression and decompression.
  CodecConstants | Codec related constants.
  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.
  SplitCompressionInputStream | An InputStream covering a range of compressed data.

Copyright © 2022 Apache Software Foundation. All rights reserved.