## Uses of Interface
org.apache.hadoop.io.compress.Compressor

- Packages that use Compressor
  Package | Description
  --- | ---
  org.apache.hadoop.io.compress |

- - ### Uses of Compressor in org.apache.hadoop.io.compress

    Fields in org.apache.hadoop.io.compress declared as Compressor
    Modifier and Type | Field and Description
    --- | ---
    `protected Compressor` | CompressorStream.`compressor`

    Methods in org.apache.hadoop.io.compress that return Compressor
    Modifier and Type | Method and Description
    --- | ---
    `Compressor` | CompressionCodec.`createCompressor()` Create a new `Compressor` for use by this `CompressionCodec`.
    `Compressor` | BZip2Codec.`createCompressor()` Create a new `Compressor` for use by this `CompressionCodec`.
    `Compressor` | DefaultCodec.`createCompressor()`
    `Compressor` | GzipCodec.`createCompressor()`
    `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.

    Methods in org.apache.hadoop.io.compress that return types with arguments of type Compressor
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends Compressor>` | CompressionCodec.`getCompressorType()` Get the type of `Compressor` needed by this `CompressionCodec`.
    `Class<? extends Compressor>` | BZip2Codec.`getCompressorType()` Get the type of `Compressor` needed by this `CompressionCodec`.
    `Class<? extends Compressor>` | DefaultCodec.`getCompressorType()`
    `Class<? extends Compressor>` | GzipCodec.`getCompressorType()`

    Methods in org.apache.hadoop.io.compress with parameters of type Compressor
    Modifier and Type | Method and Description
    --- | ---
    `CompressionOutputStream` | CompressionCodec.`createOutputStream(OutputStream out, Compressor compressor)` Create a `CompressionOutputStream` that will write to the given `OutputStream` with the given `Compressor`.
    `CompressionOutputStream` | BZip2Codec.`createOutputStream(OutputStream out, Compressor compressor)` Create a `CompressionOutputStream` that will write to the given `OutputStream` with the given `Compressor`.
    `CompressionOutputStream` | DefaultCodec.`createOutputStream(OutputStream out, Compressor compressor)`
    `CompressionOutputStream` | GzipCodec.`createOutputStream(OutputStream out, Compressor compressor)`
    `static void` | CodecPool.`returnCompressor(Compressor compressor)` Return the `Compressor` to the pool.

    Constructors in org.apache.hadoop.io.compress with parameters of type Compressor
    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)`

Copyright © 2022 Apache Software Foundation. All rights reserved.