Modifier and Type | Field and Description |
---|---|
protected Compressor |
CompressorStream.compressor |
Modifier and Type | Method and Description |
---|---|
Compressor |
SnappyCodec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
Compressor |
Lz4Codec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
Compressor |
GzipCodec.createCompressor() |
Compressor |
DefaultCodec.createCompressor() |
Compressor |
CompressionCodec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
Compressor |
BZip2Codec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
static Compressor |
CodecPool.getCompressor(CompressionCodec codec) |
static Compressor |
CodecPool.getCompressor(CompressionCodec codec,
Configuration conf)
Get a
Compressor for the given CompressionCodec from the
pool or a new one. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Compressor> |
SnappyCodec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Class<? extends Compressor> |
Lz4Codec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Class<? extends Compressor> |
GzipCodec.getCompressorType() |
Class<? extends Compressor> |
DefaultCodec.getCompressorType() |
Class<? extends Compressor> |
CompressionCodec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Class<? extends Compressor> |
BZip2Codec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Constructor and Description |
---|
BlockCompressorStream(OutputStream out,
Compressor compressor)
Create a
BlockCompressorStream with 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 |
Bzip2Compressor
A
Compressor based on the popular
bzip2 compression algorithm. |
class |
BZip2DummyCompressor
This 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 |
Lz4Compressor
A
Compressor based on the lz4 compression algorithm. |
Modifier and Type | Class and Description |
---|---|
class |
SnappyCompressor
A
Compressor based on the snappy compression algorithm. |
Modifier and Type | Class and Description |
---|---|
class |
BuiltInZlibDeflater
A wrapper around java.util.zip.Deflater to make it conform
to org.apache.hadoop.io.compress.Compressor interface.
|
class |
ZlibCompressor
A
Compressor based 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.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.