linkrs-storage 0.1.0

Storage engine with CSR and memory-mapped containers
Documentation
pub(crate) mod cache;
pub(crate) mod client;
pub(crate) mod column_stats;
pub(crate) mod compression;
pub(crate) mod cursor;
pub mod edge;
pub(crate) mod encoding;
pub(crate) mod engine;
pub(crate) mod index;
pub(crate) mod macros;
pub mod memory_watermark;
pub mod mvcc_visibility;
pub mod stats;
pub use linkrs_core::types::SnapshotHandle;
pub mod migration_history;
pub(crate) mod schema;
pub mod stats_reader;
pub(crate) mod thread_pool;

mod batch_ops;
mod metrics;
pub(crate) mod persistence;
pub(crate) mod safe_read;
pub(crate) mod types;
pub(crate) mod vertex;

#[cfg(any(test, feature = "test-support"))]
mod test_mock;

pub use batch_ops::AutoCommitBatchOps;
pub use batch_ops::AutoCommitGroupOps;
pub use client::{
    CatalogStore, GraphStore, PurgeTarget, QueryStorage, StorageAdmin, StorageAuthOps,
    StorageClient, StorageCommitOps, StorageGcOps, StorageMaintenance, StorageOperationContext,
    StorageOperationContextOps, StoragePersistenceOps, StorageReader, StorageRecoveryOps,
    StorageSchemaContextOps, StorageSchemaOps, StorageSnapshotOps, StorageStats,
    StorageSyncContextOps, StorageTtlPurgeOps, StorageWriter, TtlPurgeEntry,
};
pub use cursor::{
    open_edge_scan, open_index_cursor, open_vertex_scan, ColumnValues, EdgeColumnBatch, EdgeCursor,
    FlatVertexRecord, IndexCursor, IndexPredicate, IndexRow, IndexScanPlan, PartitionSelector,
    PredicateRange, PropertyColumn, RequiredProperty, ScanOptions, ScanPredicate, ScanTarget,
    ShardSlice, VecEdgeCursor, VecVertexCursor, VertexColumnBatch, VertexCursor,
};
pub use engine::config::{PropertyGraphConfig, ResourceConfig};
pub use engine::graph_storage::{AutoCommitBatchWindow, GraphStorage, WriteGateStats};
pub use engine::persistence_coordinator::{
    CatalogLockDiagnostic, CheckpointDiagnostics, CheckpointStats, GcEventSink, PersistenceConfig,
    PersistenceDiagnostics, PersistenceFaultPoint, SnapshotStats, StorageEvent,
    StorageEventCallback,
};
pub use engine::resource_budget::{
    MemoryAccounting, MemoryBudget, MemoryCategory, MemoryReservation, MemoryUsage,
    ResourceSnapshot,
};
pub use engine::sync_wrapper::SyncWrapper;
pub use engine::transaction::{StagedWriteMark, UndoTarget};
pub use engine::WalMetrics;
pub use index::{
    GenerationBuildState, GenerationState, IndexManifest, IndexShard, ManifestCatalog,
    ManifestCatalogStats, ManifestHandle,
};
pub use metrics::MetricsStorage;
pub use migration_history::{MigrationHistoryManager, MigrationHistoryRecord, MigrationStatus};
pub use schema::{ChangeDetails, ChangeLog, LabelVersionHistory, PropertyChange, SchemaObjectType};
pub use stats_reader::{ColumnStatsReader, ColumnStatsSnapshot};
pub use types::StoragePropertyDef;

pub use linkrs_core::StorageError;

#[cfg(any(test, feature = "test-support"))]
pub use test_mock::MockStorage;