Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.codec.prefixtree | |
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
HColumnDescriptor.getDataBlockEncoding() |
DataBlockEncoding |
HColumnDescriptor.getDataBlockEncodingOnDisk()
Deprecated.
As of release 0.98
(HBASE-9870).
This will be removed in HBase 2.0.0. See
HColumnDescriptor.getDataBlockEncoding() } |
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
HColumnDescriptor.setDataBlockEncoding(DataBlockEncoding type)
Set data block encoding algorithm used in block cache.
|
Modifier and Type | Method and Description |
---|---|
HFileBlockEncodingContext |
PrefixTreeCodec.newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] header,
HFileContext meta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
HFileBlockEncodingContext.getDataBlockEncoding() |
DataBlockEncoding |
HFileBlockDefaultEncodingContext.getDataBlockEncoding() |
static DataBlockEncoding |
DataBlockEncoding.getEncodingById(short dataBlockEncodingId) |
static DataBlockEncoding |
DataBlockEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataBlockEncoding[] |
DataBlockEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HFileBlockEncodingContext |
AbstractDataBlockEncoder.newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] header,
HFileContext meta) |
HFileBlockEncodingContext |
DataBlockEncoder.newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext meta)
Creates a encoder specific encoding context
|
Constructor and Description |
---|
EncodedDataBlock(DataBlockEncoder dataBlockEncoder,
DataBlockEncoding encoding,
byte[] rawKVs,
HFileContext meta)
Create a buffer which will be encoded using dataBlockEncoder.
|
HFileBlockDefaultEncodingContext(DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext fileContext) |
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
NoOpDataBlockEncoder.getDataBlockEncoding() |
DataBlockEncoding |
HFile.Reader.getDataBlockEncoding() |
DataBlockEncoding |
HFileDataBlockEncoderImpl.getDataBlockEncoding() |
DataBlockEncoding |
AbstractHFileReader.getDataBlockEncoding() |
DataBlockEncoding |
HFileBlock.getDataBlockEncoding() |
DataBlockEncoding |
HFileDataBlockEncoder.getDataBlockEncoding() |
DataBlockEncoding |
HFileContext.getDataBlockEncoding() |
DataBlockEncoding |
HFileReaderV2.AbstractScannerV2.getEffectiveDataBlockEncoding() |
DataBlockEncoding |
NoOpDataBlockEncoder.getEffectiveEncodingInCache(boolean isCompaction) |
DataBlockEncoding |
HFileDataBlockEncoderImpl.getEffectiveEncodingInCache(boolean isCompaction) |
DataBlockEncoding |
HFileDataBlockEncoder.getEffectiveEncodingInCache(boolean isCompaction) |
DataBlockEncoding |
HFileReaderV2.getEffectiveEncodingInCache(boolean isCompaction) |
Modifier and Type | Method and Description |
---|---|
Map<DataBlockEncoding,Integer> |
LruBlockCache.getEncodingCountsForTest() |
Modifier and Type | Method and Description |
---|---|
BlockWithScanInfo |
HFileBlockIndex.BlockIndexReader.loadDataBlockWithScanInfo(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding)
Return the BlockWithScanInfo, a data structure which contains the Data HFileBlock with
other scan info such as the key that starts the next HFileBlock.
|
HFileBlock |
HFile.CachingBlockReader.readBlock(long offset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType,
DataBlockEncoding expectedDataBlockEncoding)
Read in a file block.
|
HFileBlock |
HFileReaderV2.readBlock(long dataBlockOffset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType,
DataBlockEncoding expectedDataBlockEncoding) |
HFileBlock |
HFileBlockIndex.BlockIndexReader.seekToDataBlock(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding)
Return the data block which contains this key.
|
void |
HFileContext.setDataBlockEncoding(DataBlockEncoding encoding) |
HFileContextBuilder |
HFileContextBuilder.withDataBlockEncoding(DataBlockEncoding encoding) |
Constructor and Description |
---|
HFileContext(boolean useHBaseChecksum,
boolean includesMvcc,
boolean includesTags,
Compression.Algorithm compressAlgo,
boolean compressTags,
ChecksumType checksumType,
int bytesPerChecksum,
int blockSize,
DataBlockEncoding encoding,
Encryption.Context cryptoContext,
long fileCreateTime,
String hfileName) |
HFileDataBlockEncoderImpl(DataBlockEncoding encoding)
Do data block encoding with specified options.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.