Class Lz4Decompressor

java.lang.Object
org.apache.hadoop.hbase.io.compress.lz4.Lz4Decompressor
All Implemented Interfaces:
org.apache.hadoop.io.compress.Decompressor

@Private public class Lz4Decompressor extends Object implements org.apache.hadoop.io.compress.Decompressor
Hadoop decompressor glue for lz4-java.
  • Field Details

  • Constructor Details

  • Method Details

    • decompress

      public int decompress(byte[] b, int off, int len) throws IOException
      Specified by:
      decompress in interface org.apache.hadoop.io.compress.Decompressor
      Throws:
      IOException
    • end

      public void end()
      Specified by:
      end in interface org.apache.hadoop.io.compress.Decompressor
    • finished

      public boolean finished()
      Specified by:
      finished in interface org.apache.hadoop.io.compress.Decompressor
    • getRemaining

      public int getRemaining()
      Specified by:
      getRemaining in interface org.apache.hadoop.io.compress.Decompressor
    • needsDictionary

      public boolean needsDictionary()
      Specified by:
      needsDictionary in interface org.apache.hadoop.io.compress.Decompressor
    • reset

      public void reset()
      Specified by:
      reset in interface org.apache.hadoop.io.compress.Decompressor
    • needsInput

      public boolean needsInput()
      Specified by:
      needsInput in interface org.apache.hadoop.io.compress.Decompressor
    • setDictionary

      public void setDictionary(byte[] b, int off, int len)
      Specified by:
      setDictionary in interface org.apache.hadoop.io.compress.Decompressor
    • setInput

      public void setInput(byte[] b, int off, int len)
      Specified by:
      setInput in interface org.apache.hadoop.io.compress.Decompressor