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

- Packages that use Compressor
  Package | Description
  --- | ---
  org.apache.hadoop.io.compress |
  org.apache.hadoop.io.compress.bzip2 |
  org.apache.hadoop.io.compress.lz4 |
  org.apache.hadoop.io.compress.snappy |
  org.apache.hadoop.io.compress.zlib |
  org.apache.hadoop.io.compress.zstd |
  org.apache.hadoop.io.file.tfile |

- - ### 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` | ZStandardCodec.`createCompressor()` Create a new `Compressor` for use by this `CompressionCodec`.
    `Compressor` | BZip2Codec.`createCompressor()` Create a new `Compressor` for use by this `CompressionCodec`.
    `Compressor` | SnappyCodec.`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` | Lz4Codec.`createCompressor()` Create a new `Compressor` for use by this `CompressionCodec`.
    `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>` | ZStandardCodec.`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>` | SnappyCodec.`getCompressorType()` Get the type of `Compressor` needed by this `CompressionCodec`.
    `Class<? extends Compressor>` | CompressionCodec.`getCompressorType()` Get the type of `Compressor` needed by this `CompressionCodec`.
    `Class<? extends Compressor>` | DefaultCodec.`getCompressorType()`
    `Class<? extends Compressor>` | Lz4Codec.`getCompressorType()` Get the type of `Compressor` needed by this `CompressionCodec`.
    `Class<? extends Compressor>` | GzipCodec.`getCompressorType()`

    Methods in org.apache.hadoop.io.compress with parameters of type Compressor
    Modifier and Type | Method and Description
    --- | ---
    `CompressionOutputStream` | ZStandardCodec.`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` | SnappyCodec.`createOutputStream(OutputStream out, Compressor compressor)` Create a `CompressionOutputStream` that will write to the given `OutputStream` with the given `Compressor`.
    `CompressionOutputStream` | CompressionCodec.`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` | Lz4Codec.`createOutputStream(OutputStream out, Compressor compressor)` Create a `CompressionOutputStream` that will write to the given `OutputStream` with the given `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)`

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

    Classes in org.apache.hadoop.io.compress.bzip2 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Bzip2Compressor` A `Compressor` based on the popular bzip2 compression algorithm.
    `class` | `BZip2DummyCompressor` This is a dummy compressor for BZip2.

    Methods in org.apache.hadoop.io.compress.bzip2 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Method and Description
    --- | ---
    `static Compressor` | Bzip2Factory.`getBzip2Compressor(Configuration conf)` Return the appropriate implementation of the bzip2 compressor.

    Methods in org.apache.hadoop.io.compress.bzip2 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Method and Description
    --- | ---
    `static Class<? extends Compressor>` | Bzip2Factory.`getBzip2CompressorType(Configuration conf)` Return the appropriate type of the bzip2 compressor.

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

    Classes in org.apache.hadoop.io.compress.lz4 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Lz4Compressor` A `Compressor` based on the lz4 compression algorithm.

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

    Classes in org.apache.hadoop.io.compress.snappy with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SnappyCompressor` A `Compressor` based on the snappy compression algorithm.

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

    Classes in org.apache.hadoop.io.compress.zlib with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Class and Description
    --- | ---
    `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.

    Methods in org.apache.hadoop.io.compress.zlib with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Method and Description
    --- | ---
    `static Compressor` | ZlibFactory.`getZlibCompressor(Configuration conf)` Return the appropriate implementation of the zlib compressor.

    Methods in org.apache.hadoop.io.compress.zlib with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Method and Description
    --- | ---
    `static Class<? extends Compressor>` | ZlibFactory.`getZlibCompressorType(Configuration conf)` Return the appropriate type of the zlib compressor.

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

    Classes in org.apache.hadoop.io.compress.zstd with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Compressor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ZStandardCompressor` A `Compressor` based on the zStandard compression algorithm.

  - ### Uses of Compressor in org.apache.hadoop.io.file.tfile

    Methods in org.apache.hadoop.io.file.tfile that return Compressor
    Modifier and Type | Method and Description
    --- | ---
    `Compressor` | Compression.Algorithm.`getCompressor()`

    Methods in org.apache.hadoop.io.file.tfile with parameters of type Compressor
    Modifier and Type | Method and Description
    --- | ---
    `abstract OutputStream` | Compression.Algorithm.`createCompressionStream(OutputStream downStream, Compressor compressor, int downStreamBufferSize)`
    `void` | Compression.Algorithm.`returnCompressor(Compressor compressor)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.