pub struct EquivalenceProperties { /* private fields */ }
Expand description
Equivalence Properties is a vec of EquivalentClass.
Implementations§
source§impl EquivalenceProperties
impl EquivalenceProperties
pub fn new(schema: SchemaRef) -> Self
pub fn classes(&self) -> &[EquivalentClass]
pub fn schema(&self) -> SchemaRef
pub fn extend<I: IntoIterator<Item = EquivalentClass>>(&mut self, iter: I)
sourcepub fn add_equal_conditions(&mut self, new_conditions: (&Column, &Column))
pub fn add_equal_conditions(&mut self, new_conditions: (&Column, &Column))
Add new equal conditions into the EquivalenceProperties, the new equal conditions are usually comming from the equality predicates in Join or Filter
Trait Implementations§
source§impl Clone for EquivalenceProperties
impl Clone for EquivalenceProperties
source§fn clone(&self) -> EquivalenceProperties
fn clone(&self) -> EquivalenceProperties
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 more