pub trait MergeableOperator: Send + Sync {
// Required method
fn merge_from(&mut self, other: Self)
where Self: Sized;
// Provided method
fn supports_parallel_merge(&self) -> bool { ... }
}Expand description
Trait for operators that support parallel merge.
Pipeline breakers must implement this to enable parallel execution.
Required Methods§
Sourcefn merge_from(&mut self, other: Self)where
Self: Sized,
fn merge_from(&mut self, other: Self)where
Self: Sized,
Merges partial results from another operator instance.
Provided Methods§
Sourcefn supports_parallel_merge(&self) -> bool
fn supports_parallel_merge(&self) -> bool
Returns whether this operator supports parallel merge.