Skip to main content

reddb_server/application/
ports_impls_catalog.rs

1use super::*;
2impl RuntimeCatalogPort for RedDBRuntime {
3    fn collections(&self) -> Vec<String> {
4        self.db().collections()
5    }
6
7    fn catalog(&self) -> CatalogModelSnapshot {
8        RedDBRuntime::catalog(self)
9    }
10
11    fn catalog_consistency_report(&self) -> CatalogConsistencyReport {
12        RedDBRuntime::catalog_consistency_report(self)
13    }
14
15    fn catalog_attention_summary(&self) -> CatalogAttentionSummary {
16        RedDBRuntime::catalog_attention_summary(self)
17    }
18
19    fn collection_attention(&self) -> Vec<CollectionDescriptor> {
20        RedDBRuntime::collection_attention(self)
21    }
22
23    fn indexes(&self) -> Vec<PhysicalIndexState> {
24        RedDBRuntime::indexes(self)
25    }
26
27    fn declared_indexes(&self) -> Vec<PhysicalIndexState> {
28        RedDBRuntime::declared_indexes(self)
29    }
30
31    fn indexes_for_collection(&self, collection: &str) -> Vec<PhysicalIndexState> {
32        RedDBRuntime::indexes_for_collection(self, collection)
33    }
34
35    fn declared_indexes_for_collection(&self, collection: &str) -> Vec<PhysicalIndexState> {
36        RedDBRuntime::declared_indexes_for_collection(self, collection)
37    }
38
39    fn index_statuses(&self) -> Vec<CatalogIndexStatus> {
40        RedDBRuntime::index_statuses(self)
41    }
42
43    fn index_attention(&self) -> Vec<CatalogIndexStatus> {
44        RedDBRuntime::index_attention(self)
45    }
46
47    fn graph_projections(&self) -> RedDBResult<Vec<PhysicalGraphProjection>> {
48        RedDBRuntime::graph_projections(self)
49    }
50
51    fn operational_graph_projections(&self) -> Vec<PhysicalGraphProjection> {
52        RedDBRuntime::operational_graph_projections(self)
53    }
54
55    fn graph_projection_statuses(&self) -> Vec<CatalogGraphProjectionStatus> {
56        RedDBRuntime::graph_projection_statuses(self)
57    }
58
59    fn graph_projection_attention(&self) -> Vec<CatalogGraphProjectionStatus> {
60        RedDBRuntime::graph_projection_attention(self)
61    }
62
63    fn analytics_jobs(&self) -> RedDBResult<Vec<PhysicalAnalyticsJob>> {
64        RedDBRuntime::analytics_jobs(self)
65    }
66
67    fn operational_analytics_jobs(&self) -> Vec<PhysicalAnalyticsJob> {
68        RedDBRuntime::operational_analytics_jobs(self)
69    }
70
71    fn analytics_job_statuses(&self) -> Vec<CatalogAnalyticsJobStatus> {
72        RedDBRuntime::analytics_job_statuses(self)
73    }
74
75    fn analytics_job_attention(&self) -> Vec<CatalogAnalyticsJobStatus> {
76        RedDBRuntime::analytics_job_attention(self)
77    }
78
79    fn stats(&self) -> RuntimeStats {
80        RedDBRuntime::stats(self)
81    }
82}