pub struct JoinBuilder { /* private fields */ }
Available on crate feature
lazy
only.Implementations§
Source§impl JoinBuilder
impl JoinBuilder
Sourcepub fn new(lf: LazyFrame) -> JoinBuilder
pub fn new(lf: LazyFrame) -> JoinBuilder
Create the JoinBuilder
with the provided LazyFrame
as the left table.
Sourcepub fn with(self, other: LazyFrame) -> JoinBuilder
pub fn with(self, other: LazyFrame) -> JoinBuilder
The right table in the join.
Sourcepub fn how(self, how: JoinType) -> JoinBuilder
pub fn how(self, how: JoinType) -> JoinBuilder
Select the join type.
pub fn validate(self, validation: JoinValidation) -> JoinBuilder
Sourcepub fn on<E>(self, on: E) -> JoinBuilder
pub fn on<E>(self, on: E) -> JoinBuilder
The expressions you want to join both tables on.
The passed expressions must be valid in both LazyFrame
s in the join.
Sourcepub fn left_on<E>(self, on: E) -> JoinBuilder
pub fn left_on<E>(self, on: E) -> JoinBuilder
The expressions you want to join the left table on.
The passed expressions must be valid in the left table.
Sourcepub fn right_on<E>(self, on: E) -> JoinBuilder
pub fn right_on<E>(self, on: E) -> JoinBuilder
The expressions you want to join the right table on.
The passed expressions must be valid in the right table.
Sourcepub fn allow_parallel(self, allow: bool) -> JoinBuilder
pub fn allow_parallel(self, allow: bool) -> JoinBuilder
Allow parallel table evaluation.
Sourcepub fn force_parallel(self, force: bool) -> JoinBuilder
pub fn force_parallel(self, force: bool) -> JoinBuilder
Force parallel table evaluation.
Sourcepub fn join_nulls(self, join_nulls: bool) -> JoinBuilder
pub fn join_nulls(self, join_nulls: bool) -> JoinBuilder
Join on null values. By default null values will never produce matches.
Sourcepub fn suffix<S>(self, suffix: S) -> JoinBuilderwhere
S: Into<PlSmallStr>,
pub fn suffix<S>(self, suffix: S) -> JoinBuilderwhere
S: Into<PlSmallStr>,
Suffix to add duplicate column names in join.
Defaults to "_right"
if this method is never called.
Sourcepub fn coalesce(self, coalesce: JoinCoalesce) -> JoinBuilder
pub fn coalesce(self, coalesce: JoinCoalesce) -> JoinBuilder
Whether to coalesce join columns.
Sourcepub fn maintain_order(self, maintain_order: MaintainOrderJoin) -> JoinBuilder
pub fn maintain_order(self, maintain_order: MaintainOrderJoin) -> JoinBuilder
Whether to preserve the row order.
pub fn join_where(self, predicates: Vec<Expr>) -> LazyFrame
Auto Trait Implementations§
impl !Freeze for JoinBuilder
impl !RefUnwindSafe for JoinBuilder
impl Send for JoinBuilder
impl Sync for JoinBuilder
impl Unpin for JoinBuilder
impl !UnwindSafe for JoinBuilder
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