Class IdentityCodec.IdentityDecompressor

  • All Implemented Interfaces:
    org.apache.hadoop.io.compress.Decompressor
    Enclosing class:
    IdentityCodec

    public static class IdentityCodec.IdentityDecompressor
    extends Object
    implements org.apache.hadoop.io.compress.Decompressor
    • Constructor Detail

      • IdentityDecompressor

        public IdentityDecompressor()
    • Method Detail

      • 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
      • getBytesRead

        public long getBytesRead()
      • getBytesWritten

        public long getBytesWritten()
      • needsDictionary

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

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

        public void reset()
        Specified by:
        reset 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
      • getRemaining

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