Skip to main content

uqa_storage_sqlite/
lib.rs

1//
2// Unified Query Algebra
3//
4// Copyright (c) 2023-2026 Cognica, Inc.
5//
6
7//! SQLite-backed persistence: connection, catalog, document store,
8//! inverted index, vector index.
9
10pub mod btree_index;
11pub mod catalog;
12mod catalog_lifecycle;
13pub mod compressed_vfs;
14pub mod connection;
15mod connection_lease;
16pub mod detect;
17pub mod document_store;
18pub mod inverted_index;
19pub mod vector_index;
20
21pub use btree_index::SQLiteBTreeIndexStore;
22pub use catalog::{Catalog, CURRENT_SCHEMA_VERSION};
23pub use compressed_vfs::{
24    read_authenticated_anchor, SQLiteCompressedContainerAnchor, SQLiteCompressionCodec,
25    SQLiteCompressionOptions,
26};
27pub use connection::{ManagedConnection, Result, SQLiteError};
28pub use connection_lease::SQLiteConnectionLease;
29pub use detect::{detect_database_file_format, DatabaseFileFormat};
30pub use document_store::SQLiteDocumentStore;
31pub use inverted_index::SQLiteInvertedIndex;
32pub use uqa_storage::catalog::{
33    CatalogFacade, CatalogIndexRow, ColumnStatsInput, ColumnStatsRow, EdgeRow, ForeignTableRow,
34    TableSchema, VectorFieldSchema,
35};
36pub use vector_index::{SQLiteHNSWIndex, SQLiteIVFIndex, SQLiteVectorIndex};
37
38pub mod backend;
39pub mod block_max_index;
40pub mod graph;
41pub mod key_value;
42mod read_control;
43pub mod transaction;
44mod value_index_key;
45
46pub use backend::{SQLiteStorageBackend, SQLiteStorageProvider};
47pub use block_max_index::SQLiteBlockMaxPersistence;
48pub use graph::SQLiteGraphStore;
49pub use key_value::{
50    SQLiteKeyValueCatalog, SQLiteKeyValueStorage, SQLiteKeyValueStorageBackend, SQLiteKeyValueStore,
51};
52pub use transaction::SQLiteTransaction;