Expand description
Generic LRU/TTL cache for RDF triple data, query results, and prefix lookups.
This module provides:
TripleCache: Generic LRU cache with TTL for arbitrary RDF key-value dataQueryResultCache: Caches SPARQL query results keyed by query hashPrefixCache: Fast namespace prefix → IRI lookup cacheCacheStats: Shared hit/miss/eviction countersCachePolicy: Eviction strategy selector
Structs§
- Cache
Stats - Shared, atomically-updated cache statistics.
- Prefix
Cache - Bidirectional namespace prefix ↔ IRI lookup cache.
- Query
Cache Entry - Cache entry for a SPARQL query result set.
- Query
Result Cache - Caches SPARQL query results keyed by a (dataset_id, query_hash) pair.
- Triple
Cache - Generic LRU/LFU/FIFO/TTL cache for RDF data.
Enums§
- Cache
Policy - Eviction strategy for cache entries.
Type Aliases§
- Sparql
Row - A row of SPARQL variable bindings.