pub enum SpatialPredicate {
Distance(DistancePredicate),
Relation(RelationPredicate),
KNearestNeighbors(KNNPredicate),
}Expand description
Spatial predicate is the join condition of a spatial join. It can be a distance predicate, a relation predicate, or a KNN predicate.
Variants§
Trait Implementations§
Source§impl Clone for SpatialPredicate
impl Clone for SpatialPredicate
Source§fn clone(&self) -> SpatialPredicate
fn clone(&self) -> SpatialPredicate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpatialPredicate
impl Debug for SpatialPredicate
Source§impl Display for SpatialPredicate
impl Display for SpatialPredicate
Source§impl SpatialPredicateTrait for SpatialPredicate
impl SpatialPredicateTrait for SpatialPredicate
Source§fn swap_for_swapped_children(&self) -> Self
fn swap_for_swapped_children(&self) -> Self
Returns a semantically equivalent predicate after the join children are swapped. Read more
Source§fn update_for_child_projections(
&self,
projected_left_exprs: &[ProjectionExpr],
projected_right_exprs: &[ProjectionExpr],
) -> Result<Option<Self>>
fn update_for_child_projections( &self, projected_left_exprs: &[ProjectionExpr], projected_right_exprs: &[ProjectionExpr], ) -> Result<Option<Self>>
Rewrites the predicate to reference projected child expressions. Read more
Auto Trait Implementations§
impl Freeze for SpatialPredicate
impl !RefUnwindSafe for SpatialPredicate
impl Send for SpatialPredicate
impl Sync for SpatialPredicate
impl Unpin for SpatialPredicate
impl UnsafeUnpin for SpatialPredicate
impl !UnwindSafe for SpatialPredicate
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<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