pub struct DistinctOperator { /* private fields */ }Expand description
Distinct operator.
Removes duplicate rows from the input. Can operate on all columns or a subset.
Implementations§
Source§impl DistinctOperator
impl DistinctOperator
Sourcepub fn new(child: Box<dyn Operator>, output_schema: Vec<LogicalType>) -> Self
pub fn new(child: Box<dyn Operator>, output_schema: Vec<LogicalType>) -> Self
Creates a new distinct operator that considers all columns.
Sourcepub fn on_columns(
child: Box<dyn Operator>,
columns: Vec<usize>,
output_schema: Vec<LogicalType>,
) -> Self
pub fn on_columns( child: Box<dyn Operator>, columns: Vec<usize>, output_schema: Vec<LogicalType>, ) -> Self
Creates a distinct operator that considers only specified columns.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DistinctOperator
impl !RefUnwindSafe for DistinctOperator
impl Send for DistinctOperator
impl Sync for DistinctOperator
impl Unpin for DistinctOperator
impl !UnwindSafe for DistinctOperator
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