Uses of Class
org.apache.hadoop.hbase.io.hfile.HFileContext
Package
Description
Provides implementations of
HFile
and HFile
BlockCache
.-
Uses of org.apache.hadoop.hbase.io.hfile.HFileContext in org.apache.hadoop.hbase.io.encoding
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.HFileContext
HFileBlockDecodingContext.getHFileContext()
Returns HFile meta informationorg.apache.hadoop.hbase.io.hfile.HFileContext
HFileBlockDefaultDecodingContext.getHFileContext()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileBlockDefaultEncodingContext.getHFileContext()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileBlockEncodingContext.getHFileContext()
Returns HFile context informationModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
AbstractDataBlockEncoder.newDataBlockDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
DataBlockEncoder.newDataBlockDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta) Creates an encoder specific decoding context, which will prepare the data before actual decoding store configuration HFile meta dataorg.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.HFileBlockDefaultDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) 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.hfile.HFileContext in org.apache.hadoop.hbase.io.hfile
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.io.hfile.HFileContext
HFileReaderImpl.hfileContext
protected final org.apache.hadoop.hbase.io.hfile.HFileContext
HFileWriterImpl.hFileContext
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.HFileContext
HFileContextBuilder.build()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileContext.clone()
static org.apache.hadoop.hbase.io.hfile.HFileContext
BlockCacheUtil.cloneContext
(org.apache.hadoop.hbase.io.hfile.HFileContext context) org.apache.hadoop.hbase.io.hfile.HFileContext
HFile.Reader.getFileContext()
Return the file context of the HFile this reader belongs toorg.apache.hadoop.hbase.io.hfile.HFileContext
HFile.Writer.getFileContext()
Return the file context for the HFile this writer belongs toorg.apache.hadoop.hbase.io.hfile.HFileContext
HFileReaderImpl.getFileContext()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileWriterImpl.getFileContext()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileBlock.getHFileContext()
org.apache.hadoop.hbase.io.hfile.HFileContext
HFileInfo.getHFileContext()
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.io.hfile.HFileContext
BlockCacheUtil.cloneContext
(org.apache.hadoop.hbase.io.hfile.HFileContext context) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
HFileDataBlockEncoder.newDataBlockDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) create a encoder specific decoding context for reading.org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
HFileDataBlockEncoderImpl.newDataBlockDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
NoOpDataBlockEncoder.newDataBlockDecodingContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
HFileDataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) Create an encoder specific encoding context object for writing.org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
HFileDataBlockEncoderImpl.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
NoOpDataBlockEncoder.newDataBlockEncodingContext
(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext meta) void
BlockCompressedSizePredicator.updateLatestBlockSizes
(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed) Updates the predicator with both compressed and uncompressed sizes of latest block written.void
PreviousBlockCompressionRatePredicator.updateLatestBlockSizes
(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed) Recalculates compression rate for the last block and adjusts the block size limit as: BLOCK_SIZE * (uncompressed/compressed).void
UncompressedBlockSizePredicator.updateLatestBlockSizes
(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed) Empty implementation.org.apache.hadoop.hbase.io.hfile.HFile.WriterFactory
HFile.WriterFactory.withFileContext
(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.hfile.HFileBlockBuilder
HFileBlockBuilder.withHFileContext
(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) ModifierConstructorDescriptionEncodedScanner
(org.apache.hadoop.hbase.io.hfile.HFile.Reader reader, boolean cacheBlocks, boolean pread, boolean isCompaction, org.apache.hadoop.hbase.io.hfile.HFileContext meta, org.apache.hadoop.conf.Configuration conf) HFileBlock
(org.apache.hadoop.hbase.io.hfile.BlockType blockType, int onDiskSizeWithoutHeader, int uncompressedSizeWithoutHeader, long prevBlockOffset, org.apache.hadoop.hbase.nio.ByteBuff buf, boolean fillHeader, long offset, int nextBlockOnDiskSize, int onDiskDataSizeWithHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) Creates a newHFile
block from the given fields.HFileContext
(org.apache.hadoop.hbase.io.hfile.HFileContext context) Copy constructorHFileContextBuilder
(org.apache.hadoop.hbase.io.hfile.HFileContext hfc) Use this constructor if you want to change a few settings only in another context.HFileWriterImpl
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream outputStream, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) -
Uses of org.apache.hadoop.hbase.io.hfile.HFileContext in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder
StoreFileWriter.Builder.withFileContext
(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)