Package org.apache.hadoop.hbase.io.hfile
Class HFileBlock.PrefetchedHeader
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlock.PrefetchedHeader
- Enclosing class:
- HFileBlock
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).
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
Constructor Details
-
PrefetchedHeader
private PrefetchedHeader()
-
-
Method Details