Package | Description |
---|---|
org.apache.hadoop.io.compress | |
org.apache.hadoop.io.compress.bzip2 |
Modifier and Type | Method and Description |
---|---|
static SplittableCompressionCodec.READ_MODE |
SplittableCompressionCodec.READ_MODE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplittableCompressionCodec.READ_MODE[] |
SplittableCompressionCodec.READ_MODE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SplitCompressionInputStream |
SplittableCompressionCodec.createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
SplittableCompressionCodec.READ_MODE readMode)
Create a stream as dictated by the readMode.
|
SplitCompressionInputStream |
BZip2Codec.createInputStream(InputStream seekableIn,
Decompressor decompressor,
long start,
long end,
SplittableCompressionCodec.READ_MODE readMode)
Creates CompressionInputStream to be used to read off uncompressed data
in one of the two reading modes.
|
Constructor and Description |
---|
CBZip2InputStream(InputStream in,
SplittableCompressionCodec.READ_MODE readMode)
Constructs a new CBZip2InputStream which decompresses bytes read from the
specified stream.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.