Class IdentityCodec.IdentityDecompressor
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.bcfile.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 Summary
Constructors Constructor Description IdentityDecompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
decompress(byte[] b, int off, int len)
void
end()
boolean
finished()
long
getBytesRead()
long
getBytesWritten()
int
getRemaining()
boolean
needsDictionary()
boolean
needsInput()
void
reset()
void
setDictionary(byte[] b, int off, int len)
void
setInput(byte[] b, int off, int len)
-
-
-
Method Detail
-
decompress
public int decompress(byte[] b, int off, int len) throws IOException
- Specified by:
decompress
in interfaceorg.apache.hadoop.io.compress.Decompressor
- Throws:
IOException
-
end
public void end()
- Specified by:
end
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
finished
public boolean finished()
- Specified by:
finished
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
getBytesRead
public long getBytesRead()
-
getBytesWritten
public long getBytesWritten()
-
needsDictionary
public boolean needsDictionary()
- Specified by:
needsDictionary
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
needsInput
public boolean needsInput()
- Specified by:
needsInput
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
reset
public void reset()
- Specified by:
reset
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
setDictionary
public void setDictionary(byte[] b, int off, int len)
- Specified by:
setDictionary
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
setInput
public void setInput(byte[] b, int off, int len)
- Specified by:
setInput
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
getRemaining
public int getRemaining()
- Specified by:
getRemaining
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
-