Skip to main content

Module objects

Module objects 

Source
Expand description

(ObjectID, version) → StoredObject.

Holds every version of every object that has ever existed plus tombstones for versions at which an object was deleted or wrapped. A prefix scan on the 32-byte object id walks all versions of one object in ascending order; the value at each position is either a BCS-encoded live Object or a tombstone marker carrying the TombstoneKind.

Tombstones let version-bounded reads distinguish three states at (id, version): a live row (object existed at that version), a tombstone row (object was removed at that version), and a missing row (object did not exist at that version).

Structs§

Key
(ObjectID, version). Encoded as 32 raw id bytes followed by an 8-byte big-endian version, so versions of the same object cluster in sorted order.
ObjectIdPrefix
Prefix encoder for “every version of id”. Encodes as the 32 raw id bytes – the leading bytes of every Key whose id matches, so a prefix scan walks one object’s versions in isolation.

Enums§

Status
Typed view of a row in the objects CF.
TombstoneKind
Why a tombstone row was written: the object was either Deleted (including the unwrapped_then_deleted shape) or Wrapped (nested inside another object and removed from the live set).

Constants§

NAME

Functions§

options
store
Build a live StoredObject row from a canonical Object.
tombstone
Build a tombstone StoredObject row marking the version at which an object was deleted or wrapped.

Type Aliases§

Value