pub struct OrderingEquivalenceBuilder { /* private fields */ }
Expand description
This is a builder object facilitating incremental construction for ordering equivalences.
Implementations§
source§impl OrderingEquivalenceBuilder
impl OrderingEquivalenceBuilder
pub fn new(schema: SchemaRef) -> Self
pub fn extend( self, new_ordering_eq_properties: OrderingEquivalenceProperties ) -> Self
pub fn with_existing_ordering( self, existing_ordering: Option<Vec<PhysicalSortExpr>> ) -> Self
pub fn with_equivalences(self, new_eq_properties: EquivalenceProperties) -> Self
pub fn add_equal_conditions( &mut self, new_equivalent_ordering: Vec<PhysicalSortExpr> )
sourcepub fn schema(&self) -> &SchemaRef
pub fn schema(&self) -> &SchemaRef
Return a reference to the schema with which this builder was constructed with
sourcepub fn existing_ordering(&self) -> &LexOrdering
pub fn existing_ordering(&self) -> &LexOrdering
Return a reference to the existing ordering
pub fn build(self) -> OrderingEquivalenceProperties
Auto Trait Implementations§
impl !RefUnwindSafe for OrderingEquivalenceBuilder
impl Send for OrderingEquivalenceBuilder
impl Sync for OrderingEquivalenceBuilder
impl Unpin for OrderingEquivalenceBuilder
impl !UnwindSafe for OrderingEquivalenceBuilder
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