1pub(crate) mod cache;
2pub(crate) mod client;
3pub(crate) mod column_stats;
4pub(crate) mod compression;
5pub(crate) mod cursor;
6pub mod edge;
7pub(crate) mod encoding;
8pub(crate) mod engine;
9pub(crate) mod index;
10pub(crate) mod macros;
11pub mod memory_watermark;
12pub mod mvcc_visibility;
13pub mod stats;
14pub use linkrs_core::types::SnapshotHandle;
15pub mod migration_history;
16pub(crate) mod schema;
17pub mod stats_reader;
18pub(crate) mod thread_pool;
19
20mod batch_ops;
21mod metrics;
22pub(crate) mod persistence;
23pub(crate) mod safe_read;
24pub(crate) mod types;
25pub(crate) mod vertex;
26
27#[cfg(any(test, feature = "test-support"))]
28mod test_mock;
29
30pub use batch_ops::AutoCommitBatchOps;
31pub use batch_ops::AutoCommitGroupOps;
32pub use client::{
33 CatalogStore, GraphStore, PurgeTarget, QueryStorage, StorageAdmin, StorageAuthOps,
34 StorageClient, StorageCommitOps, StorageGcOps, StorageMaintenance, StorageOperationContext,
35 StorageOperationContextOps, StoragePersistenceOps, StorageReader, StorageRecoveryOps,
36 StorageSchemaContextOps, StorageSchemaOps, StorageSnapshotOps, StorageStats,
37 StorageSyncContextOps, StorageTtlPurgeOps, StorageWriter, TtlPurgeEntry,
38};
39pub use cursor::{
40 open_edge_scan, open_index_cursor, open_vertex_scan, ColumnValues, EdgeColumnBatch, EdgeCursor,
41 FlatVertexRecord, IndexCursor, IndexPredicate, IndexRow, IndexScanPlan, PartitionSelector,
42 PredicateRange, PropertyColumn, RequiredProperty, ScanOptions, ScanPredicate, ScanTarget,
43 ShardSlice, VecEdgeCursor, VecVertexCursor, VertexColumnBatch, VertexCursor,
44};
45pub use engine::config::{PropertyGraphConfig, ResourceConfig};
46pub use engine::graph_storage::{AutoCommitBatchWindow, GraphStorage, WriteGateStats};
47pub use engine::persistence_coordinator::{
48 CatalogLockDiagnostic, CheckpointDiagnostics, CheckpointStats, GcEventSink, PersistenceConfig,
49 PersistenceDiagnostics, PersistenceFaultPoint, SnapshotStats, StorageEvent,
50 StorageEventCallback,
51};
52pub use engine::resource_budget::{
53 MemoryAccounting, MemoryBudget, MemoryCategory, MemoryReservation, MemoryUsage,
54 ResourceSnapshot,
55};
56pub use engine::sync_wrapper::SyncWrapper;
57pub use engine::transaction::{StagedWriteMark, UndoTarget};
58pub use engine::WalMetrics;
59pub use index::{
60 GenerationBuildState, GenerationState, IndexManifest, IndexShard, ManifestCatalog,
61 ManifestCatalogStats, ManifestHandle,
62};
63pub use metrics::MetricsStorage;
64pub use migration_history::{MigrationHistoryManager, MigrationHistoryRecord, MigrationStatus};
65pub use schema::{ChangeDetails, ChangeLog, LabelVersionHistory, PropertyChange, SchemaObjectType};
66pub use stats_reader::{ColumnStatsReader, ColumnStatsSnapshot};
67pub use types::StoragePropertyDef;
68
69pub use linkrs_core::StorageError;
70
71#[cfg(any(test, feature = "test-support"))]
72pub use test_mock::MockStorage;