Expand description
Arrow-backed named property layers for OxGraph topology views.
oxgraph-property is a higher layer than topology. It stores named typed
Arrow arrays keyed by topology ID family and adapts selected total primitive
layers into topology weight capabilities. Foundation crates do not depend on
this crate, Arrow, or named properties.
§Snapshot section kinds
| Constant family | Description |
|---|---|
PROPERTY_DESCRIPTORS_* | Per-layer descriptor records (header + records + string table) |
PROPERTY_DATA_* | Concatenated Arrow IPC value and sparse-default streams |
The _U16 / _U32 / _U64 suffix selects the descriptor metadata word
width. The payload format is owned by this crate and remains an
OxGraph-internal ABI candidate while snapshot v1 bytes are not stable. All
section-kind constants are perf: unspecified — compile-time u32 tags.
Structs§
- Decoded
Property Layer - One property layer decoded from snapshot bytes.
- Dense
Weights - Selected dense primitive weights bound to one axis of a topology view.
- Element
Axis - Element-keyed axis marker.
- Encoded
Property Snapshot - Encoded property descriptor and Arrow IPC data payloads.
- Graph
Property Layers - Borrowed graph property layers partitioned by topology ID family.
- Hyper
Property Layers - Borrowed hypergraph property layers partitioned by topology ID family.
- Identity
Mode Record - Wire record declaring one identity family map mode.
- Identity
Mode Summary - Decoded identity mode summary.
- Identity
Snapshot Summary - Summary returned after identity snapshot validation.
- Incidence
Axis - Incidence-keyed axis marker.
- LayerId
- Stable numeric identifier for one property layer.
- Layer
Name - Human-facing property layer name.
- Property
Layer - Arrow-backed property layer.
- Property
Layer Descriptor - Descriptor for one Arrow-backed property layer.
- Property
Snapshot Record - Wire descriptor record for one property layer.
- Property
Snapshot Summary - Summary returned after property snapshot validation.
- Relation
Axis - Relation-keyed axis marker.
- Sparse
Weights - Selected sparse primitive weights bound to one axis of a topology view.
Enums§
- Decoded
Property Data - Arrow payload of a property layer decoded from snapshot bytes.
- IdFamily
- Topology ID family keyed by a property layer.
- Identity
MapMode - Identity snapshot map mode.
- Layer
Role - Declared role of a property layer.
- Missing
Policy - Missing-value policy for sparse property layers.
- Property
Error - Errors raised while validating property descriptors, layers, or snapshots.
- Property
Layer Data - Data backing one property layer.
- Storage
Mode - Physical storage mode for a property layer.
Constants§
- SNAPSHOT_
KIND_ ELEMENT_ IDENTITY_ MAP_ U16 - Snapshot section kind for element local-to-canonical
u16maps. - SNAPSHOT_
KIND_ ELEMENT_ IDENTITY_ MAP_ U32 - Snapshot section kind for element local-to-canonical
u32maps. - SNAPSHOT_
KIND_ ELEMENT_ IDENTITY_ MAP_ U64 - Snapshot section kind for element local-to-canonical
u64maps. - SNAPSHOT_
KIND_ IDENTITY_ MODES_ U16 - Snapshot section kind for
u16identity-mode metadata records. - SNAPSHOT_
KIND_ IDENTITY_ MODES_ U32 - Snapshot section kind for
u32identity-mode metadata records. - SNAPSHOT_
KIND_ IDENTITY_ MODES_ U64 - Snapshot section kind for
u64identity-mode metadata records. - SNAPSHOT_
KIND_ INCIDENCE_ IDENTITY_ MAP_ U16 - Snapshot section kind for incidence local-to-canonical
u16maps. - SNAPSHOT_
KIND_ INCIDENCE_ IDENTITY_ MAP_ U32 - Snapshot section kind for incidence local-to-canonical
u32maps. - SNAPSHOT_
KIND_ INCIDENCE_ IDENTITY_ MAP_ U64 - Snapshot section kind for incidence local-to-canonical
u64maps. - SNAPSHOT_
KIND_ PROPERTY_ DATA_ U16 - Snapshot section kind reserved for
u16Arrow IPC property-layer payloads. - SNAPSHOT_
KIND_ PROPERTY_ DATA_ U32 - Snapshot section kind reserved for
u32Arrow IPC property-layer payloads. - SNAPSHOT_
KIND_ PROPERTY_ DATA_ U64 - Snapshot section kind reserved for
u64Arrow IPC property-layer payloads. - SNAPSHOT_
KIND_ PROPERTY_ DESCRIPTORS_ U16 - Snapshot section kind reserved for
u16property-layer descriptors. - SNAPSHOT_
KIND_ PROPERTY_ DESCRIPTORS_ U32 - Snapshot section kind reserved for
u32property-layer descriptors. - SNAPSHOT_
KIND_ PROPERTY_ DESCRIPTORS_ U64 - Snapshot section kind reserved for
u64property-layer descriptors. - SNAPSHOT_
KIND_ RELATION_ IDENTITY_ MAP_ U16 - Snapshot section kind for relation local-to-canonical
u16maps. - SNAPSHOT_
KIND_ RELATION_ IDENTITY_ MAP_ U32 - Snapshot section kind for relation local-to-canonical
u32maps. - SNAPSHOT_
KIND_ RELATION_ IDENTITY_ MAP_ U64 - Snapshot section kind for relation local-to-canonical
u64maps. - SNAPSHOT_
PROPERTY_ VERSION - Internal property/identity snapshot section version.
Traits§
- Axis
Index - Axis-aware topology bound accessor.
- Property
Axis - Marker trait selecting which axis of a topology view a property layer keys against (elements, relations, or incidences).
- Property
Index - Unsigned index width usable for sparse property indexes.
- Property
Snapshot Meta Word - Metadata/canonical-ID word width for property and identity snapshot sections.
Functions§
- encode_
graph_ property_ snapshot - Encodes graph property layers into descriptor/data payloads.
- encode_
hyper_ property_ snapshot - Encodes hypergraph property layers into descriptor/data payloads.
- encode_
property_ snapshot - Encodes property descriptor and Arrow IPC data sections.
- rekey_
layer_ to_ local - Rekeys a property layer from canonical order into snapshot-local order.
- validate_
identity_ snapshot - Validates identity mode and explicit map sections in a snapshot.
- validate_
property_ sections - Validates raw property descriptor and data section payloads.
- validate_
property_ snapshot - Validates property descriptor/data sections in a snapshot.
- validate_
unique_ layer_ ids - Validates that layer IDs are unique within one descriptor set.
- validate_
unique_ names - Validates that layer names are unique within each ID-family namespace.