Class SnappyCodec.HadoopSnappyCompressor
java.lang.Object
org.apache.hadoop.hbase.io.compress.aircompressor.HadoopCompressor<io.airlift.compress.snappy.SnappyCompressor>
org.apache.hadoop.hbase.io.compress.aircompressor.SnappyCodec.HadoopSnappyCompressor
- All Implemented Interfaces:
CanReinit
,org.apache.hadoop.io.compress.Compressor
- Enclosing class:
- SnappyCodec
@Private
public class SnappyCodec.HadoopSnappyCompressor
extends HadoopCompressor<io.airlift.compress.snappy.SnappyCompressor>
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.io.compress.aircompressor.HadoopCompressor
bufferSize, bytesRead, bytesWritten, compressor, finish, finished, inBuf, outBuf
-
Constructor Summary
ConstructorDescriptionHadoopSnappyCompressor
(io.airlift.compress.snappy.SnappyCompressor compressor) -
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
-
HadoopSnappyCompressor
HadoopSnappyCompressor(io.airlift.compress.snappy.SnappyCompressor compressor) -
HadoopSnappyCompressor
-
-
Method Details
-
getLevel
- Specified by:
getLevel
in classHadoopCompressor<io.airlift.compress.snappy.SnappyCompressor>
-
getBufferSize
- Specified by:
getBufferSize
in classHadoopCompressor<io.airlift.compress.snappy.SnappyCompressor>
-