Skip to main content

Module query_cache

Module query_cache 

Source
Expand description

High-level query cache layer for SQLiteGraph.

This module provides deterministic, MVCC-aware caching for expensive graph traversal queries. The cache is transparent to callers and lives entirely inside the SQLiteGraph implementation without requiring any API changes.

Structs§

BfsCacheKey
Cache key for BFS queries
KHopCacheKey
Cache key for k-hop queries
KHopFilteredCacheKey
Cache key for filtered k-hop queries
QueryCache
Thread-safe query cache storage
QueryCacheEntry
Cache entry containing query results
ShortestPathCacheKey
Cache key for shortest path queries

Enums§

QueryCacheKey
Enumeration of all supported query cache keys
QueryResult
Enumeration of cached query results