SegmentSummary

What an observer is told about a finished segment.

Deliberately not SegmentMetadata, which is internal and carries the key range the version set routes on — an observer has no business with the shape of the tree, only with the file it was just shown.

Properties

Link copied to clipboard

Distinct user keys, which is how many times SegmentObservation.observe was called.

Link copied to clipboard

Versions written, counting superseded ones and tombstones.

Link copied to clipboard

Size of the finished file on disk.

Link copied to clipboard

The segment's file number.

Functions

Link copied to clipboard
open override fun toString(): String