Class CompressionMode.LZ4HighCompressor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    CompressionMode

    private static final class CompressionMode.LZ4HighCompressor
    extends Compressor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private LZ4.HCHashTable ht  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void compress​(byte[] bytes, int off, int len, DataOutput out)
      Compress bytes into out.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LZ4HighCompressor

        LZ4HighCompressor()
    • Method Detail

      • compress

        public void compress​(byte[] bytes,
                             int off,
                             int len,
                             DataOutput out)
                      throws java.io.IOException
        Description copied from class: Compressor
        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.
        Specified by:
        compress in class Compressor
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException