pub struct Join {
pub join_type: JoinType,
pub on_condition: Option<Expr>,
pub left_alias: Option<String>,
pub right_alias: Option<String>,
}Expand description
Join operator with proper condition evaluation.
Fields§
§join_type: JoinTypeJoin type.
on_condition: Option<Expr>Join condition.
left_alias: Option<String>Left table alias.
right_alias: Option<String>Right table alias.
Implementations§
Source§impl Join
impl Join
Sourcepub fn with_left_alias(self, alias: impl Into<String>) -> Self
pub fn with_left_alias(self, alias: impl Into<String>) -> Self
Set left table alias.
Sourcepub fn with_right_alias(self, alias: impl Into<String>) -> Self
pub fn with_right_alias(self, alias: impl Into<String>) -> Self
Set right table alias.
Sourcepub fn execute(
&self,
left: &RecordBatch,
right: &RecordBatch,
) -> Result<RecordBatch>
pub fn execute( &self, left: &RecordBatch, right: &RecordBatch, ) -> Result<RecordBatch>
Execute the join.
Auto Trait Implementations§
impl Freeze for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnsafeUnpin for Join
impl UnwindSafe for Join
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