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.- Object
IdPrefix - Prefix encoder for “every version of
id”. Encodes as the 32 raw id bytes – the leading bytes of everyKeywhoseidmatches, so a prefix scan walks one object’s versions in isolation.
Enums§
- Status
- Typed view of a row in the
objectsCF. - Tombstone
Kind - Why a tombstone row was written: the object was either
Deleted(including theunwrapped_then_deletedshape) orWrapped(nested inside another object and removed from the live set).
Constants§
Functions§
- options
- store
- Build a live
StoredObjectrow from a canonicalObject. - tombstone
- Build a tombstone
StoredObjectrow marking the version at which an object was deleted or wrapped.