DirectDecompressionCodec (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.compress, interface: DirectDecompressionCodec

Package org.apache.hadoop.io.compress

# Interface DirectDecompressionCodec

All Superinterfaces:
  `CompressionCodec`

All Known Implementing Classes:
  `DefaultCodec`, `DeflateCodec`, `GzipCodec`, `SnappyCodec`, `ZStandardCodec`

@Public @Evolving public interface DirectDecompressionCodec extends CompressionCodec
This class encapsulates a codec which can decompress direct bytebuffers.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface org.apache.hadoop.io.compress.CompressionCodec

  `CompressionCodec.Util`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DirectDecompressor`
  `createDirectDecompressor()`
  Create a new `DirectDecompressor` for use by this `DirectDecompressionCodec`.

  ### Methods inherited from interface org.apache.hadoop.io.compress.CompressionCodec

  `createCompressor, createDecompressor, createInputStream, createInputStream, createOutputStream, createOutputStream, getCompressorType, getDecompressorType, getDefaultExtension`

- ## Method Details

  - ### createDirectDecompressor

    DirectDecompressor createDirectDecompressor()
    Create a new `DirectDecompressor` for use by this `DirectDecompressionCodec`.
    Returns:
      a new direct decompressor for use by this codec