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