pub(super) struct SortedStreamBatch {
pub batch: RecordBatch,
compare_key_values: Vec<ArrayRef>,
}Expand description
The stream side incoming batch with required sort order.
Note the compare key in the join predicate might include expressions on the original
columns, so we store the evaluated compare key separately.
e.g. For join predicate buffer.v1 < (stream.v1 + 1), the compare_key_values field stores
the evaluated stream.v1 + 1 array.
Fields§
§batch: RecordBatch§compare_key_values: Vec<ArrayRef>Implementations§
Auto Trait Implementations§
impl Freeze for SortedStreamBatch
impl !RefUnwindSafe for SortedStreamBatch
impl Send for SortedStreamBatch
impl Sync for SortedStreamBatch
impl Unpin for SortedStreamBatch
impl !UnwindSafe for SortedStreamBatch
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
§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>
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