Class DeflateCompressor

java.lang.Object
org.elasticsearch.common.compress.DeflateCompressor
All Implemented Interfaces:
Compressor

public class DeflateCompressor
extends java.lang.Object
implements Compressor
Compressor implementation based on the DEFLATE compression algorithm.
  • Constructor Summary

    Constructors 
    Constructor Description
    DeflateCompressor()  
  • Method Summary

    Modifier and Type Method Description
    int headerLength()  
    boolean isCompressed​(BytesReference bytes)  
    StreamInput streamInput​(StreamInput in)  
    StreamOutput streamOutput​(java.io.OutputStream out)
    Creates a new stream output that compresses the contents and writes to the provided stream output.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait