Uses of Enum
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
Package
Description
Provides HBase Client
Provides implementations of
HFile
and HFile
BlockCache
.Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides an HBase Thrift
service.
-
Uses of DataBlockEncoding in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionHColumnDescriptor.setDataBlockEncoding
(DataBlockEncoding value) Deprecated.Set data block encoding algorithm used in block cache. -
Uses of DataBlockEncoding in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionstatic final DataBlockEncoding
ColumnFamilyDescriptorBuilder.DEFAULT_DATA_BLOCK_ENCODING
Default data block encoding algorithm.Modifier and TypeMethodDescriptionColumnFamilyDescriptor.getDataBlockEncoding()
Returns the data block encoding algorithm used in block cache and optionally on diskColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getDataBlockEncoding()
Modifier and TypeMethodDescriptionColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setDataBlockEncoding
(DataBlockEncoding type) Set data block encoding algorithm used in block cache.ColumnFamilyDescriptorBuilder.setDataBlockEncoding
(DataBlockEncoding value) -
Uses of DataBlockEncoding in org.apache.hadoop.hbase.io.encoding
Modifier and TypeFieldDescriptionprivate final DataBlockEncoding
EncodedDataBlock.encoding
private final DataBlockEncoding
HFileBlockDefaultEncodingContext.encodingAlgo
private static DataBlockEncoding[]
DataBlockEncoding.idArray
Maps data block encoding ids to enum instances.Modifier and TypeMethodDescriptionHFileBlockDefaultEncodingContext.getDataBlockEncoding()
HFileBlockEncodingContext.getDataBlockEncoding()
Returns theDataBlockEncoding
encoding usedstatic DataBlockEncoding
DataBlockEncoding.getEncodingById
(short dataBlockEncodingId) static DataBlockEncoding
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 TypeMethodDescriptionAbstractDataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, DataBlockEncoding encoding, byte[] header, HFileContext meta) DataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, DataBlockEncoding encoding, byte[] headerBytes, HFileContext meta) Creates a encoder specific encoding context store configuration encoding strategy used header bytes to be written, put a dummy header here if the header is unknown HFile meta dataModifierConstructorDescriptionEncodedDataBlock
(org.apache.hadoop.conf.Configuration conf, DataBlockEncoder dataBlockEncoder, DataBlockEncoding encoding, byte[] rawKVs, HFileContext meta) Create a buffer which will be encoded using dataBlockEncoder.HFileBlockDefaultEncodingContext
(org.apache.hadoop.conf.Configuration conf, DataBlockEncoding encoding, byte[] headerBytes, HFileContext fileContext) -
Uses of DataBlockEncoding in org.apache.hadoop.hbase.io.hfile
Modifier and TypeFieldDescriptionprivate DataBlockEncoding
HFileContext.encoding
private DataBlockEncoding
HFileContextBuilder.encoding
private final DataBlockEncoding
HFileDataBlockEncoderImpl.encoding
Modifier and TypeMethodDescriptionHFile.Reader.getDataBlockEncoding()
(package private) DataBlockEncoding
HFileBlock.getDataBlockEncoding()
HFileContext.getDataBlockEncoding()
HFileDataBlockEncoder.getDataBlockEncoding()
Returns the data block encodingHFileDataBlockEncoderImpl.getDataBlockEncoding()
HFileReaderImpl.getDataBlockEncoding()
NoOpDataBlockEncoder.getDataBlockEncoding()
HFileReaderImpl.HFileScannerImpl.getEffectiveDataBlockEncoding()
HFile.Reader.getEffectiveEncodingInCache
(boolean isCompaction) HFileDataBlockEncoder.getEffectiveEncodingInCache
(boolean isCompaction) HFileDataBlockEncoderImpl.getEffectiveEncodingInCache
(boolean isCompaction) HFileReaderImpl.getEffectiveEncodingInCache
(boolean isCompaction) NoOpDataBlockEncoder.getEffectiveEncodingInCache
(boolean isCompaction) Modifier and TypeMethodDescriptionLruAdaptiveBlockCache.getEncodingCountsForTest()
LruBlockCache.getEncodingCountsForTest()
Modifier and TypeMethodDescriptionprivate HFileBlock
HFileReaderImpl.getCachedBlock
(BlockCacheKey cacheKey, boolean cacheBlock, boolean useLock, boolean updateCacheMetrics, BlockType expectedBlockType, DataBlockEncoding expectedDataBlockEncoding) Retrieve block from cache.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.HFileBlockIndex.ByteArrayKeyBlockIndexReader.loadDataBlockWithScanInfo
(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) HFileBlockIndex.CellBasedKeyBlockIndexReader.loadDataBlockWithScanInfo
(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) HFileBlockIndex.CellBasedKeyBlockIndexReaderV2.loadDataBlockWithScanInfo
(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) HFileIndexBlockEncoder.EncodedSeeker.loadDataBlockWithScanInfo
(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) NoOpIndexBlockEncoder.NoOpEncodedSeeker.loadDataBlockWithScanInfo
(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) HFile.CachingBlockReader.readBlock
(long offset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, BlockType expectedBlockType, DataBlockEncoding expectedDataBlockEncoding) Read in a file block.HFile.CachingBlockReader.readBlock
(long offset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, BlockType expectedBlockType, DataBlockEncoding expectedDataBlockEncoding, boolean cacheOnly) HFileReaderImpl.readBlock
(long dataBlockOffset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, BlockType expectedBlockType, DataBlockEncoding expectedDataBlockEncoding) HFileReaderImpl.readBlock
(long dataBlockOffset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, BlockType expectedBlockType, DataBlockEncoding expectedDataBlockEncoding, boolean cacheOnly) 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.withDataBlockEncoding
(DataBlockEncoding encoding) ModifierConstructorDescription(package private)
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, IndexBlockEncoding indexBlockEncoding) HFileDataBlockEncoderImpl
(DataBlockEncoding encoding) Do data block encoding with specified options. -
Uses of DataBlockEncoding in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescription(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. -
Uses of DataBlockEncoding in org.apache.hadoop.hbase.thrift2
Modifier and TypeMethodDescriptionstatic DataBlockEncoding
ThriftUtilities.dataBlockEncodingFromThrift
(org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding in) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift2.generated.TDataBlockEncoding
ThriftUtilities.dataBlockEncodingFromHBase
(DataBlockEncoding in)