| Package | Description |
|---|---|
| org.apache.hadoop.hbase.io.compress | |
| org.apache.hadoop.hbase.io.hfile |
| Modifier and Type | Method and Description |
|---|---|
Compression.HFileDecompressionContext |
ByteBuffDecompressionCodec.getDecompressionContextFromConfiguration(org.apache.hadoop.conf.Configuration conf) |
Compression.HFileDecompressionContext |
Compression.Algorithm.getHFileDecompressionContextForConfiguration(org.apache.hadoop.conf.Configuration conf)
Get an object that holds settings used by ByteBuffDecompressor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ByteBuffDecompressor.reinit(Compression.HFileDecompressionContext newHFileDecompressionContext)
Call before every use of
ByteBuffDecompressor.canDecompress(ByteBuff, ByteBuff) and
ByteBuffDecompressor.decompress(ByteBuff, ByteBuff, int) to reinitialize the decompressor with settings
from the HFileInfo. |
| Modifier and Type | Method and Description |
|---|---|
Compression.HFileDecompressionContext |
HFileContext.getDecompressionContext()
Get an object that, if non-null, may be cast into a codec-specific type that exposes some
information from the store-file-specific Configuration that is relevant to decompression.
|
| Modifier and Type | Method and Description |
|---|---|
HFileContextBuilder |
HFileContextBuilder.withDecompressionContext(Compression.HFileDecompressionContext decompressionContext) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.