Skip to main content

Module triple_cache

Module triple_cache 

Source
Expand description

Generic LRU/TTL cache for RDF triple data, query results, and prefix lookups.

This module provides:

Structs§

CacheStats
Shared, atomically-updated cache statistics.
PrefixCache
Bidirectional namespace prefix ↔ IRI lookup cache.
QueryCacheEntry
Cache entry for a SPARQL query result set.
QueryResultCache
Caches SPARQL query results keyed by a (dataset_id, query_hash) pair.
TripleCache
Generic LRU/LFU/FIFO/TTL cache for RDF data.

Enums§

CachePolicy
Eviction strategy for cache entries.

Type Aliases§

SparqlRow
A row of SPARQL variable bindings.