pub struct CheckpointedGraphBuild<'a> { /* private fields */ }Expand description
Validated controls for an interruptible graph build.
Implementations§
Source§impl<'a> CheckpointedGraphBuild<'a>
impl<'a> CheckpointedGraphBuild<'a>
Sourcepub fn new(
params: GraphParams,
seed: u64,
passes: GraphBuildPasses,
checkpoint_path: &'a Path,
control: &'a QueryControl,
) -> Self
pub fn new( params: GraphParams, seed: u64, passes: GraphBuildPasses, checkpoint_path: &'a Path, control: &'a QueryControl, ) -> Self
Packages the validated graph parameters with checkpoint and cancellation controls.
Sourcepub const fn with_max_work_rows(self, max_work_rows: u64) -> Self
pub const fn with_max_work_rows(self, max_work_rows: u64) -> Self
Stops after checkpointing at least this many rows in the current invocation.
Callers that need a strict row limit align it to checkpoint_batch_rows.
Trait Implementations§
Source§impl<'a> Clone for CheckpointedGraphBuild<'a>
impl<'a> Clone for CheckpointedGraphBuild<'a>
Source§fn clone(&self) -> CheckpointedGraphBuild<'a>
fn clone(&self) -> CheckpointedGraphBuild<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for CheckpointedGraphBuild<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CheckpointedGraphBuild<'a>
impl<'a> !UnwindSafe for CheckpointedGraphBuild<'a>
impl<'a> Freeze for CheckpointedGraphBuild<'a>
impl<'a> Send for CheckpointedGraphBuild<'a>
impl<'a> Sync for CheckpointedGraphBuild<'a>
impl<'a> Unpin for CheckpointedGraphBuild<'a>
impl<'a> UnsafeUnpin for CheckpointedGraphBuild<'a>
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