| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.io.hfile | Provides implementations of  HFileand HFileBlockCache. | 
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | HFile.ReaderAn interface used by clients to open and iterate an  HFile. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HFilePreadReaderImplementation of  HFile.Readerto deal with pread. | 
| class  | HFileReaderImplImplementation that can handle all hfile versions of  HFile.Reader. | 
| class  | HFileStreamReaderImplementation of  HFile.Readerto deal with stream read
 do not perform any prefetch operations (HFilePreadReader will do this). | 
| Modifier and Type | Method and Description | 
|---|---|
| BlockWithScanInfo | HFileBlockIndex.ByteArrayKeyBlockIndexReader. loadDataBlockWithScanInfo(Cell key,
                         HFileBlock currentBlock,
                         boolean cacheBlocks,
                         boolean pread,
                         boolean isCompaction,
                         DataBlockEncoding expectedDataBlockEncoding,
                         HFile.CachingBlockReader cachingBlockReader) | 
| BlockWithScanInfo | HFileBlockIndex.CellBasedKeyBlockIndexReader. loadDataBlockWithScanInfo(Cell key,
                         HFileBlock currentBlock,
                         boolean cacheBlocks,
                         boolean pread,
                         boolean isCompaction,
                         DataBlockEncoding expectedDataBlockEncoding,
                         HFile.CachingBlockReader cachingBlockReader) | 
| 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. | 
| Cell | HFileBlockIndex.ByteArrayKeyBlockIndexReader. midkey(HFile.CachingBlockReader cachingBlockReader) | 
| Cell | HFileBlockIndex.CellBasedKeyBlockIndexReader. midkey(HFile.CachingBlockReader cachingBlockReader) | 
| abstract Cell | HFileBlockIndex.BlockIndexReader. midkey(HFile.CachingBlockReader cachingBlockReader)An approximation to the  HFile's mid-key. | 
| HFileBlock | 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. | 
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.