| Package | Description |
|---|---|
| org.apache.hadoop.hbase.io.compress | |
| org.apache.hadoop.hbase.io.encoding | |
| org.apache.hadoop.hbase.io.hfile |
| Modifier and Type | Method and Description |
|---|---|
static Compression.Algorithm |
Compression.getCompressionAlgorithmByName(String compressName) |
static Compression.Algorithm |
Compression.Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compression.Algorithm[] |
Compression.Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Compression.decompress(byte[] dest,
int destOffset,
InputStream bufferedBoundedStream,
int compressedSize,
int uncompressedSize,
Compression.Algorithm compressAlgo)
Decompresses data from the given stream using the configured compression
algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
EncodedDataBlock.getCompressedSize(Compression.Algorithm algo,
org.apache.hadoop.io.compress.Compressor compressor,
byte[] inputBuffer,
int offset,
int length)
Find the size of compressed data assuming that buffer will be compressed
using given algorithm.
|
int |
EncodedDataBlock.getEncodedCompressedSize(Compression.Algorithm comprAlgo,
org.apache.hadoop.io.compress.Compressor compressor)
Estimate size after second stage of compression (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
Compression.Algorithm |
HFileContext.getCompression() |
| Modifier and Type | Method and Description |
|---|---|
HFileContextBuilder |
HFileContextBuilder.withCompression(Compression.Algorithm compression) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.