## Uses of Interface
org.apache.cassandra.io.compress.ICompressor

- Packages that use ICompressor
  Package | Description
  --- | ---
  org.apache.cassandra.db.commitlog |
  org.apache.cassandra.hints | Hints subsystem consists of several components.
  org.apache.cassandra.io.compress |
  org.apache.cassandra.schema |
  org.apache.cassandra.security |

- - ### Uses of ICompressor in org.apache.cassandra.db.commitlog

    Methods in org.apache.cassandra.db.commitlog that return ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `ICompressor` | CommitLog.Configuration.`getCompressor()` Returns the compressor used to compress the segments.

  - ### Uses of ICompressor in org.apache.cassandra.hints

    Methods in org.apache.cassandra.hints with parameters of type ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `static ChecksummedDataInput` | EncryptedChecksummedDataInput.`upgradeInput(ChecksummedDataInput input, javax.crypto.Cipher cipher, ICompressor compressor)`
    `static ChecksummedDataInput` | CompressedChecksummedDataInput.`upgradeInput(ChecksummedDataInput input, ICompressor compressor)`

    Constructors in org.apache.cassandra.hints with parameters of type ICompressor
    Constructor and Description
    `CompressedChecksummedDataInput(ChannelProxy channel, ICompressor compressor, long filePosition)`
    `EncryptedChecksummedDataInput(ChannelProxy channel, javax.crypto.Cipher cipher, ICompressor compressor, long filePosition)`

  - ### Uses of ICompressor in org.apache.cassandra.io.compress

    Classes in org.apache.cassandra.io.compress that implement ICompressor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DeflateCompressor`
    `class` | `LZ4Compressor`
    `class` | `SnappyCompressor`

    Methods in org.apache.cassandra.io.compress that return ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `ICompressor` | CompressionMetadata.`compressor()`

  - ### Uses of ICompressor in org.apache.cassandra.schema

    Methods in org.apache.cassandra.schema that return ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `static ICompressor` | CompressionParams.`createCompressor(ParameterizedClass compression)`
    `ICompressor` | CompressionParams.`getSstableCompressor()` Returns the SSTable compressor.

    Methods in org.apache.cassandra.schema that return types with arguments of type ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Class<? extends ICompressor>` | CompressionParams.`klass()`

  - ### Uses of ICompressor in org.apache.cassandra.security

    Methods in org.apache.cassandra.security that return ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `ICompressor` | EncryptionContext.`getCompressor()`

    Methods in org.apache.cassandra.security with parameters of type ICompressor
    Modifier and Type | Method and Description
    --- | ---
    `static java.nio.ByteBuffer` | EncryptionUtils.`compress(java.nio.ByteBuffer inputBuffer, java.nio.ByteBuffer outputBuffer, boolean allowBufferResize, ICompressor compressor)` Compress the raw data, as well as manage sizing of the `outputBuffer`; if the buffer is not big enough, deallocate current, and allocate a large enough buffer.
    `static int` | EncryptionUtils.`uncompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, ICompressor compressor)`
    `static java.nio.ByteBuffer` | EncryptionUtils.`uncompress(java.nio.ByteBuffer inputBuffer, java.nio.ByteBuffer outputBuffer, boolean allowBufferResize, ICompressor compressor)` Uncompress the input data, as well as manage sizing of the `outputBuffer`; if the buffer is not big enough, deallocate current, and allocate a large enough buffer.

Copyright © 2018 The Apache Software Foundation