Package org.apache.hadoop.hdfs.util
Class StripedBlockUtil.VerticalRange
java.lang.Object
org.apache.hadoop.hdfs.util.StripedBlockUtil.VerticalRange
- Enclosing class:
- StripedBlockUtil
A simple utility class representing an arbitrary vertical inclusive range
starting at
offsetInBlock and lasting for spanInBlock
bytes in an internal block. Note that VerticalRange doesn't necessarily
align with StripedBlockUtil.StripingCell.-
Field Summary
FieldsModifier and TypeFieldDescriptionlongstart offset in the block group (inclusive).longlength of the stripe range. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
offsetInBlock
public long offsetInBlockstart offset in the block group (inclusive). -
spanInBlock
public long spanInBlocklength of the stripe range.
-
-
Constructor Details
-
VerticalRange
public VerticalRange(long offsetInBlock, long length)
-
-
Method Details