Skip to main content

Module occurrence

Module occurrence 

Source
Expand description

Occurrence rows, headers and property/embedding metadata.

Structs§

EmbeddingBinding
One canonical source -> Space association carrying the exact value hash at bind time. Eligible only while that hash remains current.
EmbeddingSpaceInfo
Immutable metadata for an embedding space.
OccValue
A decoded occurrence row value.
OccurrenceRow
One property occurrence of a record or relationship. Its identity is (owner_kind, owner_ord, property_id, elem); the canonical row is keyed by exactly that (keys::occ_key, DC11).
PropertyDefinition
A typed property definition within a family.
PropertyFamily
A normalized property family, scoped to records or relationships.
RecordHeader
Durable header for a record.
RelationshipHeader
Durable header for a relationship.

Enums§

BindingStatus
Lifecycle status of an embedding binding.
OccurrenceValue
ExplicitNull is a payload-free occurrence state, never a domain type.
Similarity
Immutable vector-space contract bound through stable aliases.

Constants§

OCC_FLAG_ARRAY
Occurrence row flag: the occurrence is an element of an array property.
OCC_STATE_EMPTY_ARRAY
Occurrence row state: the zero-element array marker.
OCC_STATE_NULL
Occurrence row state: explicit null.

Functions§

decode_occ_value
Decode an occurrence row value written by encode_occ_value.
encode_occ_value
Encode an occurrence row value: flags || state || payload, where state is OCC_STATE_NULL, OCC_STATE_EMPTY_ARRAY, or the logical type tag of a stored scalar followed by its order-preserving payload.
occurrence_value_hash
Canonical value hash of an occurrence (null and the empty-array marker share the null hash, as the planner assigns them).