protected abstract class OnDiskIndex.Level<T extends OnDiskBlock>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
blockCount |
protected long |
blockOffsets |
Constructor and Description |
---|
Level(long offsets,
int count) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
cast(MappedBuffer block) |
T |
getBlock(int idx) |
protected final long blockOffsets
protected final int blockCount
public T getBlock(int idx) throws FSReadError
FSReadError
protected abstract T cast(MappedBuffer block)
Copyright © 2009-2020 The Apache Software Foundation