Skip to main content

Crate uqa_storage_sqlite

Crate uqa_storage_sqlite 

Source
Expand description

SQLite-backed persistence: connection, catalog, document store, inverted index, vector index.

Re-exports§

pub use btree_index::SQLiteBTreeIndexStore;
pub use catalog::Catalog;
pub use catalog::CURRENT_SCHEMA_VERSION;
pub use compressed_vfs::read_authenticated_anchor;
pub use compressed_vfs::SQLiteCompressedContainerAnchor;
pub use compressed_vfs::SQLiteCompressionCodec;
pub use compressed_vfs::SQLiteCompressionOptions;
pub use connection::ManagedConnection;
pub use connection::Result;
pub use connection::SQLiteError;
pub use detect::detect_database_file_format;
pub use detect::DatabaseFileFormat;
pub use document_store::SQLiteDocumentStore;
pub use inverted_index::SQLiteInvertedIndex;
pub use vector_index::SQLiteHNSWIndex;
pub use vector_index::SQLiteIVFIndex;
pub use vector_index::SQLiteVectorIndex;
pub use backend::SQLiteStorageBackend;
pub use backend::SQLiteStorageProvider;
pub use block_max_index::SQLiteBlockMaxPersistence;
pub use graph::SQLiteGraphStore;
pub use key_value::SQLiteKeyValueCatalog;
pub use key_value::SQLiteKeyValueStorage;
pub use key_value::SQLiteKeyValueStorageBackend;
pub use key_value::SQLiteKeyValueStore;
pub use transaction::SQLiteTransaction;

Modules§

backend
Session factories and physical stores for the SQLite backend.
block_max_index
Atomic SQLite persistence for the shared block-max score index.
btree_index
Persistent backing for logical btree value indexes.
catalog
Catalog: schema versioning, migrations, and persisted table metadata.
compressed_vfs
Schema-neutral compressed SQLite VFS.
connection
Pooled SQLite connections with explicit session and transaction affinity.
detect
On-disk database format detection.
document_store
SQLite-backed DocumentStore.
graph
Standalone SQLite graph storage using indexed records directly.
inverted_index
SQLite-backed inverted index.
key_value
SQLite-backed physical KeyValue storage.
transaction
SQLite transactions with automatic rollback on drop.
vector_index
SQLite-backed exact and IVF vector indexes.

Structs§

CatalogIndexRow
One row from the secondary-index registry.
ColumnStatsInput
Values persisted into one column-statistics row.
ColumnStatsRow
One row from persisted column statistics.
EdgeRow
One row from graph-edge persistence, represented as a typed struct so the catalog API stays explicit and clippy-clean.
ForeignTableRow
One row from the foreign-table registry.
SQLiteConnectionLease
An exclusive physical connection checked out from a managed pool. It is independent of the originating logical session. Dropping the lease rolls back an unfinished transaction before returning the connection to the pool; a connection whose rollback fails is discarded.
TableSchema
VectorFieldSchema

Traits§

CatalogFacade
Engine-facing catalog facade for persistent metadata.