pub struct AsOfJoin {
pub left: Arc<LogicalPlan>,
pub right: Arc<LogicalPlan>,
pub on: Vec<(Expr, Expr)>,
pub match_condition: Box<AsOfMatch>,
pub join_constraint: JoinConstraint,
pub schema: DFSchemaRef,
}Expand description
Match each left row with at most one ordered row from the right input.
Fields§
§left: Arc<LogicalPlan>Left input. Every left row is preserved exactly once.
right: Arc<LogicalPlan>Right input.
on: Vec<(Expr, Expr)>Equality clauses expressed as pairs of left and right expressions.
match_condition: Box<AsOfMatch>Ordered match condition.
join_constraint: JoinConstraintWhether equality keys came from ON or USING.
schema: DFSchemaRefOutput schema.
Implementations§
Source§impl AsOfJoin
impl AsOfJoin
Sourcepub fn try_new(
left: Arc<LogicalPlan>,
right: Arc<LogicalPlan>,
on: Vec<(Expr, Expr)>,
match_condition: AsOfMatch,
join_constraint: JoinConstraint,
) -> Result<Self>
pub fn try_new( left: Arc<LogicalPlan>, right: Arc<LogicalPlan>, on: Vec<(Expr, Expr)>, match_condition: AsOfMatch, join_constraint: JoinConstraint, ) -> Result<Self>
Creates an ASOF join and validates its logical contract.
This is the pre-coercion boundary. The physical ASOF constructor repeats the shared operator, side-ownership, and determinism checks for direct physical-plan callers and adds execution-only constraints. Keep the shared checks aligned across both entry points.
Trait Implementations§
impl Eq for AsOfJoin
Source§impl PartialOrd for AsOfJoin
impl PartialOrd for AsOfJoin
impl StructuralPartialEq for AsOfJoin
Auto Trait Implementations§
impl !RefUnwindSafe for AsOfJoin
impl !UnwindSafe for AsOfJoin
impl Forget for AsOfJoin
impl Freeze for AsOfJoin
impl Move for AsOfJoin
impl Send for AsOfJoin
impl Sync for AsOfJoin
impl Unpin for AsOfJoin
impl UnsafeUnpin for AsOfJoin
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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