Uses of Enum Class
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
Package
Description
Provides HBase Client
Provides implementations of
HFile
and HFile
BlockCache
.-
Uses of org.apache.hadoop.hbase.io.encoding.DataBlockEncoding in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[][] columnFamilies, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, org.apache.hadoop.hbase.client.Durability durability) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, org.apache.hadoop.hbase.client.Durability durability) Deprecated.Creates a pre-split table for load testing. -
Uses of org.apache.hadoop.hbase.io.encoding.DataBlockEncoding in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
ColumnFamilyDescriptorBuilder.DEFAULT_DATA_BLOCK_ENCODING
Default data block encoding algorithm.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.DataBlockEncoding
ColumnFamilyDescriptor.getDataBlockEncoding()
Returns the data block encoding algorithm used in block cache and optionally on diskModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder
ColumnFamilyDescriptorBuilder.setDataBlockEncoding
(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding value) -
Uses of org.apache.hadoop.hbase.io.encoding.DataBlockEncoding in org.apache.hadoop.hbase.io.encoding
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileBlockDefaultEncodingContext.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileBlockEncodingContext.getDataBlockEncoding()
Returns theDataBlockEncoding
encoding usedstatic org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
DataBlockEncoding.getEncodingById
(short dataBlockEncodingId) static org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
DataBlockEncoding.valueOf
(String name) static org.apache.hadoop.hbase.io.encoding.DataBlockEncoding[]
DataBlockEncoding.values()
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
AbstractDataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] header, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
DataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.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, org.apache.hadoop.hbase.io.encoding.DataBlockEncoder dataBlockEncoder, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] rawKVs, org.apache.hadoop.hbase.io.hfile.HFileContext meta) Create a buffer which will be encoded using dataBlockEncoder.HFileBlockDefaultEncodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) -
Uses of org.apache.hadoop.hbase.io.encoding.DataBlockEncoding in org.apache.hadoop.hbase.io.hfile
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFile.Reader.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileContext.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileDataBlockEncoder.getDataBlockEncoding()
Returns the data block encodingorg.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileDataBlockEncoderImpl.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileReaderImpl.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
NoOpDataBlockEncoder.getDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileReaderImpl.HFileScannerImpl.getEffectiveDataBlockEncoding()
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFile.Reader.getEffectiveEncodingInCache
(boolean isCompaction) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileDataBlockEncoder.getEffectiveEncodingInCache
(boolean isCompaction) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileDataBlockEncoderImpl.getEffectiveEncodingInCache
(boolean isCompaction) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
HFileReaderImpl.getEffectiveEncodingInCache
(boolean isCompaction) org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
NoOpDataBlockEncoder.getEffectiveEncodingInCache
(boolean isCompaction) Modifier and TypeMethodDescriptionLruAdaptiveBlockCache.getEncodingCountsForTest()
LruBlockCache.getEncodingCountsForTest()
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.BlockWithScanInfo
HFileIndexBlockEncoder.EncodedSeeker.loadDataBlockWithScanInfo
(org.apache.hadoop.hbase.ExtendedCell key, org.apache.hadoop.hbase.io.hfile.HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding, org.apache.hadoop.hbase.io.hfile.HFile.CachingBlockReader cachingBlockReader) org.apache.hadoop.hbase.io.hfile.BlockWithScanInfo
NoOpIndexBlockEncoder.NoOpEncodedSeeker.loadDataBlockWithScanInfo
(org.apache.hadoop.hbase.ExtendedCell key, org.apache.hadoop.hbase.io.hfile.HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding, org.apache.hadoop.hbase.io.hfile.HFile.CachingBlockReader cachingBlockReader) org.apache.hadoop.hbase.io.hfile.HFileBlock
HFile.CachingBlockReader.readBlock
(long offset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType expectedBlockType, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding) Read in a file block.org.apache.hadoop.hbase.io.hfile.HFileBlock
HFile.CachingBlockReader.readBlock
(long offset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType expectedBlockType, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding, boolean cacheOnly) org.apache.hadoop.hbase.io.hfile.HFileBlock
HFileReaderImpl.readBlock
(long dataBlockOffset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType expectedBlockType, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding) org.apache.hadoop.hbase.io.hfile.HFileBlock
HFileReaderImpl.readBlock
(long dataBlockOffset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType expectedBlockType, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding expectedDataBlockEncoding, boolean cacheOnly) org.apache.hadoop.hbase.io.hfile.HFileContextBuilder
HFileContextBuilder.withDataBlockEncoding
(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) ModifierConstructorDescriptionHFileDataBlockEncoderImpl
(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding) Do data block encoding with specified options. -
Uses of org.apache.hadoop.hbase.io.encoding.DataBlockEncoding in org.apache.hadoop.hbase.util
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
LoadTestTool.dataBlockEncodingAlgo
Modifier and TypeMethodDescriptionstatic int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[][] columnFamilies, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, org.apache.hadoop.hbase.client.Durability durability) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, byte[] columnFamily, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, org.apache.hadoop.hbase.client.Durability durability) Creates a pre-split table for load testing.