Expand description
Unified Entity Model
Provides a single entity type that can represent table rows, graph nodes, graph edges, or vectors with seamless interoperability.
Re-exports§
pub use super::entity_id::EntityId;
Structs§
- Cross
Ref - A cross-reference between entities
- Edge
Data - Data for a graph edge
- Embedding
Slot - A slot for embedding a specific aspect of an entity
- Entity
Aux - Auxiliary entity data — only allocated when needed.
- Graph
Edge Kind - Graph
Node Kind - Node
Data - Data for a graph node
- Queue
Message Data - Queue message data
- RowData
- Data for a table row
- Sparse
Vector - Sparse vector representation
- Time
Series Data - Time-series data point
- Time
Series Point Kind - Unified
Entity - A unified entity that can represent any storage type
- Vector
Data - Data for a vector
Enums§
- Entity
Data - The actual data content of an entity
- Entity
Kind - The kind of entity (what storage type it belongs to)
- RefType
- Types of cross-references between entities
Constants§
- FIRST_
USER_ ENTITY_ ID - The first entity-id handed to user-inserted data. Ids
1..FIRST_USER_ENTITY_IDare reserved for the internal collection-descriptor and config-default entities the engine seeds at boot, so the first user-insertedridis a STABLE, documented value regardless of how many config defaults a build ships.
Functions§
- compute_
entity_ field_ bloom - Compute the combined field-name bloom for all user-level fields in
data. Returns 0 for schema-based rows (all rows share the same schema, so the per-entity bloom would be identical — caller uses a segment-level bloom). - field_
name_ bloom - Compute one bit of a field-name bloom filter.