Class BlockIndex
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.BlockIndex
-
- All Implemented Interfaces:
CacheEntry.Weighable
public class BlockIndex extends Object implements CacheEntry.Weighable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockIndex.BlockIndexEntry
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlockIndex
getIndex(CachableBlockFile.CachedBlockRead cacheBlock, MultiLevelIndex.IndexEntry indexEntry)
BlockIndex.BlockIndexEntry
seekBlock(Key startKey, CachableBlockFile.CachedBlockRead cacheBlock)
int
weight()
-
-
-
Method Detail
-
getIndex
public static BlockIndex getIndex(CachableBlockFile.CachedBlockRead cacheBlock, MultiLevelIndex.IndexEntry indexEntry) throws IOException
- Throws:
IOException
-
seekBlock
public BlockIndex.BlockIndexEntry seekBlock(Key startKey, CachableBlockFile.CachedBlockRead cacheBlock)
-
weight
public int weight()
- Specified by:
weight
in interfaceCacheEntry.Weighable
-
-