MCPcopy Create free account
hub / github.com/cosdata/cosdata / CollectionCacheEntry

Class CollectionCacheEntry

src/models/collection_cache.rs:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15#[allow(dead_code)]
16pub struct CollectionCacheEntry {
17 pub name: String,
18 pub dense_index: Option<Arc<HNSWIndex>>,
19 pub inverted_index: Option<Arc<InvertedIndex>>,
20 pub last_accessed: Instant,
21}
22
23#[derive(Debug, Clone, PartialEq, Eq, Hash)]
24pub struct CollectionNameKey(u64);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected