public static interface HFileIndexBlockEncoder.EncodedSeeker extends HeapSize
Modifier and Type | Method and Description |
---|---|
int |
getRootBlockCount() |
Cell |
getRootBlockKey(int i) |
void |
initRootIndex(HFileBlock blk,
int numEntries,
CellComparator comparator,
int treeLevel) |
boolean |
isEmpty() |
BlockWithScanInfo |
loadDataBlockWithScanInfo(Cell key,
HFileBlock currentBlock,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
DataBlockEncoding expectedDataBlockEncoding,
HFile.CachingBlockReader cachingBlockReader) |
Cell |
midkey(HFile.CachingBlockReader cachingBlockReader) |
int |
rootBlockContainingKey(Cell key) |
void initRootIndex(HFileBlock blk, int numEntries, CellComparator comparator, int treeLevel) throws IOException
IOException
boolean isEmpty()
Cell getRootBlockKey(int i)
int getRootBlockCount()
Cell midkey(HFile.CachingBlockReader cachingBlockReader) throws IOException
IOException
int rootBlockContainingKey(Cell key)
BlockWithScanInfo loadDataBlockWithScanInfo(Cell key, HFileBlock currentBlock, boolean cacheBlocks, boolean pread, boolean isCompaction, DataBlockEncoding expectedDataBlockEncoding, HFile.CachingBlockReader cachingBlockReader) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.