ICompressor (apache-cassandra API)
Date: 2012-05-04

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

All Known Implementing Classes:
  DeflateCompressor, SnappyCompressor

    public interface ICompressor

Nested Class Summary
`static class` | `ICompressor.WrappedArray` A simple wrapper of a byte array.

Method Summary
`int` | `compress(byte[] input, int inputOffset, int inputLength, ICompressor.WrappedArray output, int outputOffset)`
`int` | `initialCompressedBufferLength(int chunkLength)`
`int` | `uncompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)`

Method Detail

### initialCompressedBufferLength

    int initialCompressedBufferLength(int chunkLength)

### compress

    int compress(byte[] input,
                 int inputOffset,
                 int inputLength,
                 ICompressor.WrappedArray output,
                 int outputOffset)
                 throws java.io.IOException

  Throws:
    `java.io.IOException`

### uncompress

    int uncompress(byte[] input,
                   int inputOffset,
                   int inputLength,
                   byte[] output,
                   int outputOffset)
                   throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 The Apache Software Foundation