Package | Description |
---|---|
org.apache.hadoop.io.compress |
Modifier and Type | Field and Description |
---|---|
protected Compressor |
CompressorStream.compressor |
Modifier and Type | Method and Description |
---|---|
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> |
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 . |
Modifier and Type | Method and Description |
---|---|
CompressionOutputStream |
GzipCodec.createOutputStream(OutputStream out,
Compressor compressor) |
CompressionOutputStream |
DefaultCodec.createOutputStream(OutputStream out,
Compressor compressor) |
CompressionOutputStream |
CompressionCodec.createOutputStream(OutputStream out,
Compressor compressor)
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor . |
CompressionOutputStream |
BZip2Codec.createOutputStream(OutputStream out,
Compressor compressor)
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor . |
static void |
CodecPool.returnCompressor(Compressor compressor)
Return the
Compressor to the pool. |
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) |
Copyright © 2017 Apache Software Foundation. All rights reserved.