Package org.apache.hadoop.hbase.io.hfile
Interface HFileIndexBlockEncoder.EncodedSeeker
- All Superinterfaces:
HeapSize
- All Known Implementing Classes:
NoOpIndexBlockEncoder.NoOpEncodedSeeker
- Enclosing interface:
- HFileIndexBlockEncoder
-
Method Summary
Modifier and TypeMethodDescriptionintgetRootBlockKey(int i) voidinitRootIndex(HFileBlock blk, int numEntries, CellComparator comparator, int treeLevel) booleanisEmpty()loadDataBlockWithScanInfo(ExtendedCell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) midkey(HFile.CachingBlockReader cachingBlockReader) int
-
Method Details
-
initRootIndex
void initRootIndex(HFileBlock blk, int numEntries, CellComparator comparator, int treeLevel) throws IOException - Throws:
IOException
-
isEmpty
boolean isEmpty() -
getRootBlockKey
-
getRootBlockCount
int getRootBlockCount() -
midkey
- Throws:
IOException
-
rootBlockContainingKey
-
loadDataBlockWithScanInfo
BlockWithScanInfo loadDataBlockWithScanInfo(ExtendedCell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) throws IOException - Throws:
IOException
-