Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
HColumnDescriptor.getDataBlockEncoding()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
HColumnDescriptor.setDataBlockEncoding(DataBlockEncoding value)
Deprecated.
Set data block encoding algorithm used in block cache.
|
Modifier and Type | Field and Description |
---|---|
static DataBlockEncoding |
ColumnFamilyDescriptorBuilder.DEFAULT_DATA_BLOCK_ENCODING
Default data block encoding algorithm.
|
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
ColumnFamilyDescriptor.getDataBlockEncoding() |
DataBlockEncoding |
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getDataBlockEncoding() |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptorBuilder |
ColumnFamilyDescriptorBuilder.setDataBlockEncoding(DataBlockEncoding value) |
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setDataBlockEncoding(DataBlockEncoding type)
Set data block encoding algorithm used in block cache.
|
Modifier and Type | Field and Description |
---|---|
private DataBlockEncoding |
EncodedDataBlock.encoding |
private DataBlockEncoding |
HFileBlockDefaultEncodingContext.encodingAlgo |
private static DataBlockEncoding[] |
DataBlockEncoding.idArray
Maps data block encoding ids to enum instances.
|
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 |
DataBlockEncoder.newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext meta)
Creates a encoder specific encoding context
|
HFileBlockEncodingContext |
AbstractDataBlockEncoder.newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] header,
HFileContext meta) |
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 | Field and Description |
---|---|
private DataBlockEncoding |
HFileContextBuilder.encoding |
private DataBlockEncoding |
HFileContext.encoding |
private DataBlockEncoding |
HFileDataBlockEncoderImpl.encoding |
Modifier and Type | Method and Description |
---|---|
Map<DataBlockEncoding,Integer> |
LruBlockCache.getEncodingCountsForTest() |
Modifier and Type | Method and Description |
---|---|
private HFileBlock |
HFileReaderImpl.getCachedBlock(BlockCacheKey cacheKey,
boolean cacheBlock,
boolean useLock,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType,
DataBlockEncoding expectedDataBlockEncoding)
Retrieve block from cache.
|
BlockWithScanInfo |
HFileBlockIndex.ByteArrayKeyBlockIndexReader.loadDataBlockWithScanInfo(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding,
HFile.CachingBlockReader cachingBlockReader) |
BlockWithScanInfo |
HFileBlockIndex.CellBasedKeyBlockIndexReader.loadDataBlockWithScanInfo(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding,
HFile.CachingBlockReader cachingBlockReader) |
abstract BlockWithScanInfo |
HFileBlockIndex.BlockIndexReader.loadDataBlockWithScanInfo(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding,
HFile.CachingBlockReader cachingBlockReader)
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 |
HFileReaderImpl.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,
HFile.CachingBlockReader cachingBlockReader)
Return the data block which contains this key.
|
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,
byte[] columnFamily,
byte[] tableName,
CellComparator cellComparator) |
HFileDataBlockEncoderImpl(DataBlockEncoding encoding)
Do data block encoding with specified options.
|
Modifier and Type | Method and Description |
---|---|
(package private) static Map<byte[],DataBlockEncoding> |
HFileOutputFormat2.createFamilyDataBlockEncodingMap(org.apache.hadoop.conf.Configuration conf)
Runs inside the task to deserialize column family to data block encoding
type map from the configuration.
|
Modifier and Type | Method and Description |
---|---|
static DataBlockEncoding |
ThriftUtilities.dataBlockEncodingFromThrift(org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding in) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding |
ThriftUtilities.dataBlockEncodingFromHBase(DataBlockEncoding in) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.