pub struct MemoryMappedGraph { /* private fields */ }Expand description
Memory-mapped graph storage for handling massive graphs Provides efficient disk-backed storage with OS-level caching
Implementations§
Source§impl MemoryMappedGraph
impl MemoryMappedGraph
Sourcepub fn open_readonly<P: AsRef<Path>>(storage_path: P) -> Result<Self>
pub fn open_readonly<P: AsRef<Path>>(storage_path: P) -> Result<Self>
Open existing memory-mapped graph in read-only mode
Sourcepub fn from_arrow_graph<P: AsRef<Path>>(
graph: &ArrowGraph,
storage_path: P,
) -> Result<Self>
pub fn from_arrow_graph<P: AsRef<Path>>( graph: &ArrowGraph, storage_path: P, ) -> Result<Self>
Create memory-mapped graph from Arrow graph
Sourcepub fn get_memory_stats(&self) -> MemoryStats
pub fn get_memory_stats(&self) -> MemoryStats
Get memory usage statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryMappedGraph
impl !RefUnwindSafe for MemoryMappedGraph
impl Send for MemoryMappedGraph
impl Sync for MemoryMappedGraph
impl Unpin for MemoryMappedGraph
impl !UnwindSafe for MemoryMappedGraph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more