Class Lz4Codec.HadoopLz4Compressor
java.lang.Object
org.apache.hadoop.hbase.io.compress.aircompressor.HadoopCompressor<io.airlift.compress.lz4.Lz4Compressor>
org.apache.hadoop.hbase.io.compress.aircompressor.Lz4Codec.HadoopLz4Compressor
- All Implemented Interfaces:
CanReinit
,org.apache.hadoop.io.compress.Compressor
- Enclosing class:
- Lz4Codec
@Private
public class Lz4Codec.HadoopLz4Compressor
extends HadoopCompressor<io.airlift.compress.lz4.Lz4Compressor>
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.io.compress.aircompressor.HadoopCompressor
bufferSize, bytesRead, bytesWritten, compressor, finish, finished, inBuf, outBuf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) int
getBufferSize
(org.apache.hadoop.conf.Configuration conf) (package private) int
getLevel
(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.io.compress.aircompressor.HadoopCompressor
compress, end, finish, finished, getBytesRead, getBytesWritten, maxCompressedLength, needsInput, reinit, reset, setDictionary, setInput
-
Constructor Details
-
HadoopLz4Compressor
HadoopLz4Compressor(io.airlift.compress.lz4.Lz4Compressor compressor) -
HadoopLz4Compressor
-
-
Method Details
-
getLevel
- Specified by:
getLevel
in classHadoopCompressor<io.airlift.compress.lz4.Lz4Compressor>
-
getBufferSize
- Specified by:
getBufferSize
in classHadoopCompressor<io.airlift.compress.lz4.Lz4Compressor>
-