Class HFileBlock.PrefetchedHeader

java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlock.PrefetchedHeader
Enclosing class:
HFileBlock

private static class HFileBlock.PrefetchedHeader extends Object
Data-structure to use caching the header of the NEXT block. Only works if next read that comes in here is next in sequence in this block. When we read, we read current block and the next blocks' header. We do this so we have the length of the next block to read if the hfile index is not available (rare, at hfile open only).