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 Details

    • blockKeys

      public final List<BlockKey> blockKeys
    • firstBlockKey

      public final BlockKey firstBlockKey
    • lastBlockKey

      public final BlockKey lastBlockKey
    • snapshotKey

      public final SnapshotKey snapshotKey
    • fileId

      public final int fileId
    • fileFrom

      public final int fileFrom
    • fileTo

      public final int fileTo
  • Constructor Details

    • LeafBlockRange

      public LeafBlockRange​(List<BlockKey> blockKeys)
  • Method Details

    • rangeBlockKey

      public BlockKey rangeBlockKey()
      Returns:
      A "virtual" BlockKey spanning multiple blocks
    • parse

      public io.datarouter.scanner.Scanner<io.datarouter.bytes.Bytes> parse​(byte[] multiBlockBytes)
    • toString

      public String toString()
      Overrides:
      toString in class Object