Expand description
A Valkey (fka Redis) storage adapter for RDF.rs, a Rust framework for RDF knowledge graphs.
§Examples
use rdf_model::SAMPLE_QUAD;
use rdf_store::{Store, WriteTransaction};
use rdf_store_valkey::{ValkeyStore, ValkeyTransaction};
let mut store = ValkeyStore::open("redis://127.0.0.1")?;
let mut tx = store.write().await?;
tx.insert(&(SAMPLE_QUAD.into())).await?;
tx.commit().await?;Structs§
- Store
Options - Valkey
Graph Key - A graph key for fetching a graph from Valkey.
- Valkey
Quad - A quad statement (S, P, O, C) in Valkey.
- Valkey
Store - A quad store backed by a Valkey database.
- Valkey
Term - A term that can be stored in Valkey.
- Valkey
Transaction - A transaction for reading and writing statements in Valkey.
- Valkey
Triple - A triple statement (S, P, O) in Valkey.
- Valkey
Triple Id - A triple ID used to identify a triple in Valkey.
- Valkey
Triple Key - A triple key for fetching a triple from Valkey.
- Valkey
Triple Pattern - A triple statement pattern for matching triples in Valkey.
Enums§
- Valkey
Error - An error when interacting with a Valkey store.