pub enum SHJStreamState {
PullRight,
PullLeft,
RightExhausted,
LeftExhausted,
BothExhausted {
final_result: bool,
},
}Expand description
Represents the various states of an symmetric hash join stream operation.
This enum is used to track the current state of streaming during a join operation. It provides indicators as to which side of the join needs to be pulled next or if one (or both) sides have been exhausted. This allows for efficient management of resources and optimal performance during the join process.
Variants§
PullRight
Indicates that the next step should pull from the right side of the join.
PullLeft
Indicates that the next step should pull from the left side of the join.
RightExhausted
State representing that the right side of the join has been fully processed.
LeftExhausted
State representing that the left side of the join has been fully processed.
BothExhausted
Represents a state where both sides of the join are exhausted.
The final_result field indicates whether the join operation has
produced a final result or not.
Trait Implementations§
Source§impl Clone for SHJStreamState
impl Clone for SHJStreamState
Source§fn clone(&self) -> SHJStreamState
fn clone(&self) -> SHJStreamState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for SHJStreamState
impl RefUnwindSafe for SHJStreamState
impl Send for SHJStreamState
impl Sync for SHJStreamState
impl Unpin for SHJStreamState
impl UnwindSafe for SHJStreamState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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