Package | Description |
---|---|
org.apache.hadoop.io.compress |
Modifier and Type | Field and Description |
---|---|
protected Compressor |
CompressorStream.compressor |
Modifier and Type | Method and Description |
---|---|
Compressor |
CompressionCodec.createCompressor()
Create a new
Compressor for use by this CompressionCodec . |
Compressor |
DefaultCodec.createCompressor() |
Compressor |
GzipCodec.createCompressor() |
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> |
CompressionCodec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Class<? extends Compressor> |
DefaultCodec.getCompressorType() |
Class<? extends Compressor> |
GzipCodec.getCompressorType() |
Class<? extends Compressor> |
BZip2Codec.getCompressorType()
Get the type of
Compressor needed by this CompressionCodec . |
Modifier and Type | Method and Description |
---|---|
CompressionOutputStream |
CompressionCodec.createOutputStream(OutputStream out,
Compressor compressor)
Create a
CompressionOutputStream that will write to the given
OutputStream with the given Compressor . |
CompressionOutputStream |
DefaultCodec.createOutputStream(OutputStream out,
Compressor compressor) |
CompressionOutputStream |
GzipCodec.createOutputStream(OutputStream out,
Compressor 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 © 2018 Apache Software Foundation. All rights reserved.