1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Copyright (c) 2024-2025 DeepGraph Inc.
// SPDX-License-Identifier: Apache-2.0
//
//! Catalog providers registration system
//!
//! This module contains the registration system for all catalog providers.
//! Adding a new catalog requires only implementing the CatalogProvider trait
//! and adding one line to the register_all_catalogs function.
use CatalogRegistry;
// Individual catalog provider modules
// Graph definitions (not metadata tracking) - needed for CREATE GRAPH
// Re-export GraphTypeCatalog from schema module
pub use crateGraphTypeCatalog;
// These will be implemented as the catalog providers are created
// pub mod timeseries;
// pub mod document;
// pub mod spatial;
/// Register all available catalogs
///
/// This function is called during catalog registry initialization to register
/// all available catalog providers. Adding a new catalog is as simple as
/// adding one line to this function.
///
/// # Arguments
/// * `registry` - Mutable reference to the catalog registry
///
/// # Example
/// To add a new catalog, simply add a line like:
/// ```ignore
/// registry.register("mycatalog", mycatalog::MyCatalog::new());
/// ```