Class Compressor

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Compressor()
      Sole constructor, typically called from sub-classes.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void compress​(ByteBuffersDataInput buffersInput, DataOutput out)
      Compress bytes into out.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Closeable

        close
    • Constructor Detail

      • Compressor

        protected Compressor()
        Sole constructor, typically called from sub-classes.
    • Method Detail

      • compress

        public abstract void compress​(ByteBuffersDataInput buffersInput,
                                      DataOutput out)
                               throws java.io.IOException
        Compress bytes into out. It is the responsibility of the compressor to add all necessary information so that a Decompressor will know when to stop decompressing bytes from the stream.
        Throws:
        java.io.IOException