pub struct JoinConfig {
pub join_type: JoinType,
pub window: Option<WindowType>,
pub left_key_extractor: JoinKeyExtractor,
pub right_key_extractor: JoinKeyExtractor,
pub join_condition: Option<JoinCondition>,
pub result_transformer: JoinResultTransformer,
pub temporal_tolerance: Option<Duration>,
pub buffer_size: usize,
pub collect_stats: bool,
pub allowed_lateness: Duration,
}Expand description
Configuration for stream join operations
Fields§
§join_type: JoinTypeType of join to perform
window: Option<WindowType>Window type for temporal joins
left_key_extractor: JoinKeyExtractorKey extraction for left stream
right_key_extractor: JoinKeyExtractorKey extraction for right stream
join_condition: Option<JoinCondition>Additional join condition (beyond key matching)
result_transformer: JoinResultTransformerResult transformer
temporal_tolerance: Option<Duration>Maximum time difference for temporal joins
buffer_size: usizeBuffer size for each stream
collect_stats: boolEnable statistics collection
allowed_lateness: DurationLate data handling
Implementations§
Source§impl JoinConfig
impl JoinConfig
pub fn new( join_type: JoinType, left_key_extractor: JoinKeyExtractor, right_key_extractor: JoinKeyExtractor, result_transformer: JoinResultTransformer, ) -> Self
pub fn with_window(self, window: WindowType) -> Self
pub fn with_temporal_tolerance(self, tolerance: Duration) -> Self
pub fn with_condition(self, condition: JoinCondition) -> Self
Trait Implementations§
Source§impl Clone for JoinConfig
impl Clone for JoinConfig
Source§fn clone(&self) -> JoinConfig
fn clone(&self) -> JoinConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JoinConfig
impl !RefUnwindSafe for JoinConfig
impl Send for JoinConfig
impl Sync for JoinConfig
impl Unpin for JoinConfig
impl UnsafeUnpin for JoinConfig
impl !UnwindSafe for JoinConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.