pub struct JoinContext<'a> {
pub left: &'a RecordBatch,
pub right: &'a RecordBatch,
pub left_row: usize,
pub right_row: usize,
pub left_alias: Option<&'a str>,
pub right_alias: Option<&'a str>,
}Expand description
Join execution context containing the left and right inputs and join condition.
This context is used by join executors to perform various join algorithms (nested loop, hash join, sort-merge join) on the input data streams.
Fields§
§left: &'a RecordBatchLeft record batch.
right: &'a RecordBatchRight record batch.
left_row: usizeCurrent left row index.
right_row: usizeCurrent right row index.
left_alias: Option<&'a str>Left table alias (if any).
right_alias: Option<&'a str>Right table alias (if any).
Auto Trait Implementations§
impl<'a> Freeze for JoinContext<'a>
impl<'a> RefUnwindSafe for JoinContext<'a>
impl<'a> Send for JoinContext<'a>
impl<'a> Sync for JoinContext<'a>
impl<'a> Unpin for JoinContext<'a>
impl<'a> UnsafeUnpin for JoinContext<'a>
impl<'a> UnwindSafe for JoinContext<'a>
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