Uses of Class
org.apache.hadoop.hbase.io.hfile.HFileContext
Packages that use 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
Methods in org.apache.hadoop.hbase.io.encoding that return org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.HFileContextHFileBlockDecodingContext.getHFileContext()Returns HFile meta informationorg.apache.hadoop.hbase.io.hfile.HFileContextHFileBlockDefaultDecodingContext.getHFileContext()org.apache.hadoop.hbase.io.hfile.HFileContextHFileBlockDefaultEncodingContext.getHFileContext()org.apache.hadoop.hbase.io.hfile.HFileContextHFileBlockEncodingContext.getHFileContext()Returns HFile context informationMethods in org.apache.hadoop.hbase.io.encoding with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContextAbstractDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContextDataBlockEncoder.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.HFileBlockEncodingContextAbstractDataBlockEncoder.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.HFileBlockEncodingContextDataBlockEncoder.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 dataConstructors in org.apache.hadoop.hbase.io.encoding with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in inModifierConstructorDescriptionEncodedDataBlock(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
Fields in org.apache.hadoop.hbase.io.hfile declared as org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.io.hfile.HFileContextHFileReaderImpl.hfileContextprotected final org.apache.hadoop.hbase.io.hfile.HFileContextHFileWriterImpl.hFileContextMethods in org.apache.hadoop.hbase.io.hfile that return org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.HFileContextHFileContextBuilder.build()org.apache.hadoop.hbase.io.hfile.HFileContextHFileContext.clone()static org.apache.hadoop.hbase.io.hfile.HFileContextBlockCacheUtil.cloneContext(org.apache.hadoop.hbase.io.hfile.HFileContext context) org.apache.hadoop.hbase.io.hfile.HFileContextHFile.Reader.getFileContext()Return the file context of the HFile this reader belongs toorg.apache.hadoop.hbase.io.hfile.HFileContextHFile.Writer.getFileContext()Return the file context for the HFile this writer belongs toorg.apache.hadoop.hbase.io.hfile.HFileContextHFileReaderImpl.getFileContext()org.apache.hadoop.hbase.io.hfile.HFileContextHFileWriterImpl.getFileContext()org.apache.hadoop.hbase.io.hfile.HFileContextHFileBlock.getHFileContext()org.apache.hadoop.hbase.io.hfile.HFileContextHFileInfo.getHFileContext()Methods in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.io.hfile.HFileContextBlockCacheUtil.cloneContext(org.apache.hadoop.hbase.io.hfile.HFileContext context) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContextHFileDataBlockEncoder.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.HFileBlockDecodingContextHFileDataBlockEncoderImpl.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContextNoOpDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContextHFileDataBlockEncoder.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.HFileBlockEncodingContextHFileDataBlockEncoderImpl.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContextNoOpDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext meta) org.apache.hadoop.hbase.io.hfile.HFileBlockHFileBlock.unpack(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext, org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReader reader) Retrieves the decompressed/decrypted view of this block.voidBlockCompressedSizePredicator.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.voidPreviousBlockCompressionRatePredicator.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).voidUncompressedBlockSizePredicator.updateLatestBlockSizes(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed) Empty implementation.org.apache.hadoop.hbase.io.hfile.HFile.WriterFactoryHFile.WriterFactory.withFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) org.apache.hadoop.hbase.io.hfile.HFileBlockBuilderHFileBlockBuilder.withHFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext) Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in inModifierConstructorDescriptionEncodedScanner(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 newHFileblock 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
Methods in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.StoreFileWriter.BuilderStoreFileWriter.Builder.withFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)