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;
15pub mod detect;
16pub mod document_store;
17pub mod inverted_index;
18pub mod vector_index;
19
20pub use btree_index::SQLiteBTreeIndexStore;
21pub use catalog::{Catalog, CURRENT_SCHEMA_VERSION};
22pub use compressed_vfs::{
23    read_authenticated_anchor, SQLiteCompressedContainerAnchor, SQLiteCompressionCodec,
24    SQLiteCompressionOptions,
25};
26pub use connection::{ManagedConnection, Result, SQLiteError};
27pub use detect::{detect_database_file_format, DatabaseFileFormat};
28pub use document_store::SQLiteDocumentStore;
29pub use inverted_index::SQLiteInvertedIndex;
30pub use uqa_storage::catalog::{
31    CatalogFacade, CatalogIndexRow, ColumnStatsInput, ColumnStatsRow, EdgeRow, ForeignTableRow,
32    TableSchema, VectorFieldSchema,
33};
34pub use vector_index::{SQLiteHNSWIndex, SQLiteIVFIndex, SQLiteVectorIndex};
35
36pub mod backend;
37pub mod block_max_index;
38pub mod graph;
39pub mod key_value;
40mod read_control;
41pub mod transaction;
42mod value_index_key;
43
44pub use backend::{SQLiteStorageBackend, SQLiteStorageProvider};
45pub use block_max_index::SQLiteBlockMaxPersistence;
46pub use graph::SQLiteGraphStore;
47pub use key_value::{
48    SQLiteKeyValueCatalog, SQLiteKeyValueStorage, SQLiteKeyValueStorageBackend, SQLiteKeyValueStore,
49};
50pub use transaction::SQLiteTransaction;