pub struct StreamingGraphSystem { /* private fields */ }
Expand description
Combined streaming processor with incremental algorithms
Implementations§
Source§impl StreamingGraphSystem
impl StreamingGraphSystem
Sourcepub fn new(initial_graph: ArrowGraph) -> Self
pub fn new(initial_graph: ArrowGraph) -> Self
Create a new streaming graph system
Sourcepub fn graph_processor(&self) -> &StreamingGraphProcessor
pub fn graph_processor(&self) -> &StreamingGraphProcessor
Get the graph processor
Sourcepub fn graph_processor_mut(&mut self) -> &mut StreamingGraphProcessor
pub fn graph_processor_mut(&mut self) -> &mut StreamingGraphProcessor
Get mutable access to the graph processor
Sourcepub fn algorithm_processor(&self) -> &IncrementalAlgorithmProcessor
pub fn algorithm_processor(&self) -> &IncrementalAlgorithmProcessor
Get the algorithm processor
Sourcepub fn algorithm_processor_mut(&mut self) -> &mut IncrementalAlgorithmProcessor
pub fn algorithm_processor_mut(&mut self) -> &mut IncrementalAlgorithmProcessor
Get mutable access to the algorithm processor
Sourcepub fn apply_update_with_cache_invalidation(
&mut self,
update: StreamUpdate,
) -> Result<UpdateResult>
pub fn apply_update_with_cache_invalidation( &mut self, update: StreamUpdate, ) -> Result<UpdateResult>
Apply update and invalidate relevant algorithm caches
Auto Trait Implementations§
impl Freeze for StreamingGraphSystem
impl !RefUnwindSafe for StreamingGraphSystem
impl Send for StreamingGraphSystem
impl Sync for StreamingGraphSystem
impl Unpin for StreamingGraphSystem
impl !UnwindSafe for StreamingGraphSystem
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