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 Summary
Modifier and TypeFieldDescriptionprotected int
protected net.jpountz.lz4.LZ4SafeDecompressor
protected boolean
protected ByteBuffer
protected int
protected ByteBuffer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
decompress
(byte[] b, int off, int len) void
end()
boolean
finished()
int
boolean
boolean
void
reset()
void
setDictionary
(byte[] b, int off, int len) void
setInput
(byte[] b, int off, int len)
-
Field Details
-
decompressor
-
inBuf
-
outBuf
-
bufferSize
-
inLen
-
finished
-
-
Constructor Details
-
Lz4Decompressor
Lz4Decompressor(int bufferSize)
-
-
Method Details
-
decompress
- Specified by:
decompress
in interfaceorg.apache.hadoop.io.compress.Decompressor
- Throws:
IOException
-
end
- Specified by:
end
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
finished
- Specified by:
finished
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
getRemaining
- Specified by:
getRemaining
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
needsDictionary
- Specified by:
needsDictionary
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
reset
- Specified by:
reset
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
needsInput
- Specified by:
needsInput
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
setDictionary
- Specified by:
setDictionary
in interfaceorg.apache.hadoop.io.compress.Decompressor
-
setInput
- Specified by:
setInput
in interfaceorg.apache.hadoop.io.compress.Decompressor
-