pub struct AdaptivePipelineBuilder { /* private fields */ }Expand description
Builder for creating adaptive pipelines.
Implementations§
Source§impl AdaptivePipelineBuilder
impl AdaptivePipelineBuilder
Sourcepub fn with_config(self, config: AdaptivePipelineConfig) -> Self
pub fn with_config(self, config: AdaptivePipelineConfig) -> Self
Sets the configuration.
Sourcepub fn with_checkpoint(
self,
id: &str,
after_operator: usize,
estimated: f64,
) -> Self
pub fn with_checkpoint( self, id: &str, after_operator: usize, estimated: f64, ) -> Self
Adds a checkpoint at the specified operator index.
Sourcepub fn with_event_callback(self, callback: AdaptiveEventCallback) -> Self
pub fn with_event_callback(self, callback: AdaptiveEventCallback) -> Self
Sets an event callback for observing execution.
Sourcepub fn with_context(self, context: AdaptiveContext) -> Self
pub fn with_context(self, context: AdaptiveContext) -> Self
Sets estimates from a pre-configured context.
Sourcepub fn build(self) -> AdaptiveExecutionConfig
pub fn build(self) -> AdaptiveExecutionConfig
Builds the configuration for adaptive execution.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdaptivePipelineBuilder
impl !RefUnwindSafe for AdaptivePipelineBuilder
impl Send for AdaptivePipelineBuilder
impl Sync for AdaptivePipelineBuilder
impl Unpin for AdaptivePipelineBuilder
impl !UnwindSafe for AdaptivePipelineBuilder
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