public static class StripedBlockUtil.VerticalRange extends Object
offsetInBlock and lasting for spanInBlock
bytes in an internal block. Note that VerticalRange doesn't necessarily
align with StripingCell.
|<- Striped Block Group ->|
blk_0
|
v
+-----+
|~~~~~| <-- offsetInBlock
| | ^
| | |
| | | spanInBlock
| | v
|~~~~~| ---
| |
+-----+| Modifier and Type | Field and Description |
|---|---|
long |
offsetInBlock
start offset in the block group (inclusive).
|
long |
spanInBlock
length of the stripe range.
|
| Constructor and Description |
|---|
VerticalRange(long offsetInBlock,
long length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
include(long pos)
whether a position is in the range.
|
String |
toString() |
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.