pub struct EquivalenceProperties<T = Column> { /* private fields */ }
Expand description
Equivalence Properties is a vec of EquivalentClass.
Implementations§
source§impl<T: Eq + Hash + Clone> EquivalenceProperties<T>
impl<T: Eq + Hash + Clone> EquivalenceProperties<T>
pub fn new(schema: SchemaRef) -> Self
pub fn classes(&self) -> &[EquivalentClass<T>]
pub fn schema(&self) -> SchemaRef
pub fn extend<I: IntoIterator<Item = EquivalentClass<T>>>(&mut self, iter: I)
sourcepub fn add_equal_conditions(&mut self, new_conditions: (&T, &T))
pub fn add_equal_conditions(&mut self, new_conditions: (&T, &T))
Adds new equal conditions into the EquivalenceProperties. New equal conditions usually come from equality predicates in a join/filter.
Trait Implementations§
source§impl<T: Clone> Clone for EquivalenceProperties<T>
impl<T: Clone> Clone for EquivalenceProperties<T>
source§fn clone(&self) -> EquivalenceProperties<T>
fn clone(&self) -> EquivalenceProperties<T>
Returns a copy 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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for EquivalenceProperties<T>where T: RefUnwindSafe,
impl<T> Send for EquivalenceProperties<T>where T: Send,
impl<T> Sync for EquivalenceProperties<T>where T: Sync,
impl<T> Unpin for EquivalenceProperties<T>where T: Unpin,
impl<T> UnwindSafe for EquivalenceProperties<T>where T: UnwindSafe,
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