PlanSnapshotSegment

data class PlanSnapshotSegment(val name: String, val index: Long, val checksum: String, val minSeq: Long, val maxSeq: Long, val mode: PlanSnapshotSegmentMode, val 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.

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val index: Long

Zero-based segment index.

Link copied to clipboard

Integer numbers.

Link copied to clipboard

Integer numbers.

Link copied to clipboard

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

Link copied to clipboard

Segment filename to pass to getSegment or getBlock.