Expand description
Schema metadata cache for tab completion.
Provides a SchemaCache struct that caches CQL schema metadata (keyspaces,
tables, columns, UDTs, functions, aggregates) fetched from the database.
The cache supports TTL-based staleness checks so it refreshes periodically.
The REPL wraps SchemaCache in an Arc<RwLock<>> for shared async access.
Structs§
- Schema
Cache - Cached schema metadata for a CQL cluster.
Constants§
- DEFAULT_
TTL 🔒 - Default TTL for cached schema data (30 seconds).