pub struct JoinOptimizer { /* private fields */ }Expand description
Join optimizer - analyzes stream characteristics and suggests optimizations
Implementations§
Source§impl JoinOptimizer
impl JoinOptimizer
Sourcepub fn register_stream_stats(&mut self, stats: StreamStats)
pub fn register_stream_stats(&mut self, stats: StreamStats)
Register stream statistics for optimization
Sourcepub fn optimize_join(
&self,
left_stream: &str,
right_stream: &str,
join_type: JoinType,
join_strategy: JoinStrategy,
) -> OptimizedJoinPlan
pub fn optimize_join( &self, left_stream: &str, right_stream: &str, join_type: JoinType, join_strategy: JoinStrategy, ) -> OptimizedJoinPlan
Optimize a join plan based on stream characteristics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinOptimizer
impl RefUnwindSafe for JoinOptimizer
impl Send for JoinOptimizer
impl Sync for JoinOptimizer
impl Unpin for JoinOptimizer
impl UnwindSafe for JoinOptimizer
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