Class LeafBlockRangeLoader.LeafBlockRange
java.lang.Object
io.datarouter.filesystem.snapshot.reader.block.LeafBlockRangeLoader.LeafBlockRange
- Enclosing class:
- LeafBlockRangeLoader
public static class LeafBlockRangeLoader.LeafBlockRange extends Object
-
Field Summary
Fields Modifier and Type Field Description List<BlockKey>blockKeysintfileFromintfileIdintfileToBlockKeyfirstBlockKeyBlockKeylastBlockKeySnapshotKeysnapshotKey -
Constructor Summary
Constructors Constructor Description LeafBlockRange(List<BlockKey> blockKeys) -
Method Summary
Modifier and Type Method Description io.datarouter.scanner.Scanner<io.datarouter.bytes.Bytes>parse(byte[] multiBlockBytes)BlockKeyrangeBlockKey()StringtoString()
-
Field Details
-
blockKeys
-
firstBlockKey
-
lastBlockKey
-
snapshotKey
-
fileId
public final int fileId -
fileFrom
public final int fileFrom -
fileTo
public final int fileTo
-
-
Constructor Details
-
Method Details
-
rangeBlockKey
- Returns:
- A "virtual" BlockKey spanning multiple blocks
-
parse
public io.datarouter.scanner.Scanner<io.datarouter.bytes.Bytes> parse(byte[] multiBlockBytes) -
toString
-