Uses of Class
org.apache.hadoop.hbase.io.hfile.HFileBlock

Packages that use org.apache.hadoop.hbase.io.hfile.HFileBlock
Package
Description
Provides implementations of HFile and HFile BlockCache.
  • Uses of org.apache.hadoop.hbase.io.hfile.HFileBlock in org.apache.hadoop.hbase.io.hfile

    Subclasses of org.apache.hadoop.hbase.io.hfile.HFileBlock in in org.apache.hadoop.hbase.io.hfile
    Modifier and Type
    Class
    Description
    class 
    org.apache.hadoop.hbase.io.hfile.ExclusiveMemHFileBlock
    The ByteBuffAllocator won't allocate pooled heap ByteBuff now; at the same time, if allocate an off-heap ByteBuff from allocator, then it must be a pooled one.
    class 
    org.apache.hadoop.hbase.io.hfile.SharedMemHFileBlock
    The ByteBuffAllocator won't allocate pooled heap ByteBuff now; at the same time, if allocate an off-heap ByteBuff from allocator, then it must be a pooled one.
    Fields in org.apache.hadoop.hbase.io.hfile declared as org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileReaderImpl.HFileScannerImpl.curBlock
     
    Fields in org.apache.hadoop.hbase.io.hfile with type parameters of type org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier and Type
    Field
    Description
    protected final ArrayList<org.apache.hadoop.hbase.io.hfile.HFileBlock>
    HFileReaderImpl.HFileScannerImpl.prevBlocks
     
    Methods in org.apache.hadoop.hbase.io.hfile that return org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileBlockBuilder.build()
     
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileBlock.BlockDeserializer.deserialize(org.apache.hadoop.hbase.nio.ByteBuff buf, org.apache.hadoop.hbase.io.ByteBuffAllocator alloc)
     
    static org.apache.hadoop.hbase.io.hfile.HFileBlock
    BlockCacheUtil.getBlockForCaching(org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.hfile.HFileBlock block)
    Similarly to HFileBlock.Writer.getBlockForCaching(), creates a HFileBlock instance without checksum for caching.
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileReaderImpl.HFileScannerImpl.getCurBlock()
     
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    BlockWithScanInfo.getHFileBlock()
     
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFile.Reader.getMetaBlock(String metaBlockName, boolean cacheBlock)
     
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileReaderImpl.getMetaBlock(String metaBlockName, boolean cacheBlock)
     
    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)
     
    protected org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileReaderImpl.HFileScannerImpl.readNextDataBlock()
    Scans blocks in the "scanned" section of the HFile until the next data block is found.
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileBlock.retain()
     
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileBlock.touch()
    Calling this method in strategic locations where HFileBlocks are referenced may help diagnose potential buffer leaks.
    org.apache.hadoop.hbase.io.hfile.HFileBlock
    HFileBlock.touch(Object hint)
     
    Methods in org.apache.hadoop.hbase.io.hfile that return types with arguments of type org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.hbase.io.hfile.HFileBlock>
    HFileInfo.getLoadOnOpenBlocks()
     
    Methods in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    BlockCache.blockFitsIntoTheCache(org.apache.hadoop.hbase.io.hfile.HFileBlock block)
    Checks whether there's enough space left in the cache to accommodate the passed block.
    CombinedBlockCache.blockFitsIntoTheCache(org.apache.hadoop.hbase.io.hfile.HFileBlock block)
     
    static org.apache.hadoop.hbase.io.hfile.HFileBlock
    BlockCacheUtil.getBlockForCaching(org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.hfile.HFileBlock block)
    Similarly to HFileBlock.Writer.getBlockForCaching(), creates a HFileBlock instance without checksum for caching.
    protected org.apache.hadoop.hbase.ExtendedCell
    HFileReaderImpl.EncodedScanner.getFirstKeyCellInBlock(org.apache.hadoop.hbase.io.hfile.HFileBlock curBlock)
     
    protected org.apache.hadoop.hbase.ExtendedCell
    HFileReaderImpl.HFileScannerImpl.getFirstKeyCellInBlock(org.apache.hadoop.hbase.io.hfile.HFileBlock curBlock)
     
    void
    HFileIndexBlockEncoder.EncodedSeeker.initRootIndex(org.apache.hadoop.hbase.io.hfile.HFileBlock blk, int numEntries, CellComparator comparator, int treeLevel)
     
    void
    NoOpIndexBlockEncoder.NoOpEncodedSeeker.initRootIndex(org.apache.hadoop.hbase.io.hfile.HFileBlock blk, int numEntries, CellComparator comparator, int treeLevel)
     
    protected int
    HFileReaderImpl.EncodedScanner.loadBlockAndSeekToKey(org.apache.hadoop.hbase.io.hfile.HFileBlock seekToBlock, org.apache.hadoop.hbase.ExtendedCell nextIndexedKey, boolean rewind, org.apache.hadoop.hbase.ExtendedCell key, boolean seekBefore)
     
    protected int
    HFileReaderImpl.HFileScannerImpl.loadBlockAndSeekToKey(org.apache.hadoop.hbase.io.hfile.HFileBlock seekToBlock, org.apache.hadoop.hbase.ExtendedCell nextIndexedKey, boolean rewind, org.apache.hadoop.hbase.ExtendedCell key, boolean seekBefore)
     
    org.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)
     
    protected void
    HFileReaderImpl.HFileScannerImpl.releaseIfNotCurBlock(org.apache.hadoop.hbase.io.hfile.HFileBlock block)
    The curBlock will be released by shipping or close method, so only need to consider releasing the block, which was read from HFile before and not referenced by curBlock.
    protected void
    HFileReaderImpl.EncodedScanner.updateCurrentBlock(org.apache.hadoop.hbase.io.hfile.HFileBlock newBlock)
    Updates the current block to be the given HFileBlock.
    protected void
    HFileReaderImpl.HFileScannerImpl.updateCurrentBlock(org.apache.hadoop.hbase.io.hfile.HFileBlock newBlock)
    Updates the current block to be the given HFileBlock.
    Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileBlock in in
    Modifier
    Constructor
    Description
     
    BlockWithScanInfo(org.apache.hadoop.hbase.io.hfile.HFileBlock hFileBlock, org.apache.hadoop.hbase.ExtendedCell nextIndexedKey)