| Modifier and Type | Field and Description | 
|---|---|
| protected Compressor | CompressorStream. compressor | 
| Modifier and Type | Method and Description | 
|---|---|
| Compressor | BZip2Codec. createCompressor()Create a new  Compressorfor use by thisCompressionCodec. | 
| Compressor | DefaultCodec. createCompressor() | 
| Compressor | Lz4Codec. createCompressor()Create a new  Compressorfor use by thisCompressionCodec. | 
| Compressor | CompressionCodec. createCompressor()Create a new  Compressorfor use by thisCompressionCodec. | 
| Compressor | SnappyCodec. createCompressor()Create a new  Compressorfor use by thisCompressionCodec. | 
| Compressor | GzipCodec. createCompressor() | 
| Compressor | ZStandardCodec. createCompressor()Create a new  Compressorfor use by thisCompressionCodec. | 
| static Compressor | CodecPool. getCompressor(CompressionCodec codec) | 
| static Compressor | CodecPool. getCompressor(CompressionCodec codec,
             Configuration conf)Get a  Compressorfor the givenCompressionCodecfrom the 
 pool or a new one. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Compressor> | BZip2Codec. getCompressorType()Get the type of  Compressorneeded by thisCompressionCodec. | 
| Class<? extends Compressor> | DefaultCodec. getCompressorType() | 
| Class<? extends Compressor> | Lz4Codec. getCompressorType()Get the type of  Compressorneeded by thisCompressionCodec. | 
| Class<? extends Compressor> | CompressionCodec. getCompressorType()Get the type of  Compressorneeded by thisCompressionCodec. | 
| Class<? extends Compressor> | SnappyCodec. getCompressorType()Get the type of  Compressorneeded by thisCompressionCodec. | 
| Class<? extends Compressor> | GzipCodec. getCompressorType() | 
| Class<? extends Compressor> | ZStandardCodec. getCompressorType()Get the type of  Compressorneeded by thisCompressionCodec. | 
| Constructor and Description | 
|---|
| BlockCompressorStream(OutputStream out,
                     Compressor compressor)Create a  BlockCompressorStreamwith given output-stream and 
 compressor. | 
| BlockCompressorStream(OutputStream out,
                     Compressor compressor,
                     int bufferSize,
                     int compressionOverhead)Create a  BlockCompressorStream. | 
| CompressorStream(OutputStream out,
                Compressor compressor) | 
| CompressorStream(OutputStream out,
                Compressor compressor,
                int bufferSize) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Bzip2CompressorA  Compressorbased on the popular 
 bzip2 compression algorithm. | 
| class  | BZip2DummyCompressorThis is a dummy compressor for BZip2. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Compressor | Bzip2Factory. getBzip2Compressor(Configuration conf)Return the appropriate implementation of the bzip2 compressor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Class<? extends Compressor> | Bzip2Factory. getBzip2CompressorType(Configuration conf)Return the appropriate type of the bzip2 compressor. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Lz4CompressorA  Compressorbased on the lz4 compression algorithm. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SnappyCompressorA  Compressorbased on the snappy compression algorithm. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BuiltInZlibDeflaterA wrapper around java.util.zip.Deflater to make it conform 
 to org.apache.hadoop.io.compress.Compressor interface. | 
| class  | ZlibCompressorA  Compressorbased on the popular 
 zlib compression algorithm. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Compressor | ZlibFactory. getZlibCompressor(Configuration conf)Return the appropriate implementation of the zlib compressor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Class<? extends Compressor> | ZlibFactory. getZlibCompressorType(Configuration conf)Return the appropriate type of the zlib compressor. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ZStandardCompressorA  Compressorbased on the zStandard compression algorithm. | 
| Modifier and Type | Method and Description | 
|---|---|
| Compressor | Compression.Algorithm. getCompressor() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract OutputStream | Compression.Algorithm. createCompressionStream(OutputStream downStream,
                       Compressor compressor,
                       int downStreamBufferSize) | 
| void | Compression.Algorithm. returnCompressor(Compressor compressor) | 
Copyright © 2018 Apache Software Foundation. All Rights Reserved.