Expand description
uni.graph.{project, drop, list, exists} procedures — named
graph-projection lifecycle (M5c.4 / proposal §4.10.3).
Projections live in the per-StorageManager crate::projection_store::ProjectionStore
(see crates/uni-query/src/projection_store.rs). v1 is in-memory
only — restart clears every projection — and the only eviction
mechanism is uni.graph.drop.
The procedures live in uni-query (not uni-plugin-builtin)
because they need to call QueryProcedureHost::execute_inner_query
and crate::projection_store::for_storage, both of which are uni-
query types that uni-plugin-builtin cannot reach without an
inverted dependency.
Structs§
- Drop
Procedure uni.graph.drop(name) -> (dropped). Returnsfalsewhen no projection by that name existed (not an error).- Exists
Procedure uni.graph.exists(name) -> (exists). Pure read; never errors on missing names.- List
Procedure uni.graph.list() -> (name, node_count, edge_count, bytes, created_at_ms, source_kind).- Project
Procedure uni.graph.project(name, graphRef, config) -> (name, node_count, edge_count, bytes).
Functions§
- register_
into - Register every
uni.graph.*procedure intor.