PlanSnapshotSegment

constructor(name: String, index: Long, checksum: String, minSeq: Long, maxSeq: Long, mode: PlanSnapshotSegmentMode, blocks: List<PlanSnapshotBlockRange>? = null)

Parameters

name

Segment filename to pass to getSegment or getBlock.

index

Zero-based segment index.

checksum

The segment's xxh3 metadata checksum, encoded as 16 hexadecimal characters.

minSeq

Integer numbers.

maxSeq

Integer numbers.

mode

How to download this segment. For segment, download the whole file with getSegment. For blocks, download the ranges listed in blocks with getBlock.

blocks

Block ranges to download, including both endpoints. This field is present only when mode is blocks.