pub struct DistinctMaterializingOperator { /* private fields */ }Expand description
Push-based distinct operator that materializes all input first.
This is a true pipeline breaker that buffers all rows and produces distinct output in the finalize phase. Use this when you need deterministic ordering of output.
Implementations§
Trait Implementations§
Source§impl PushOperator for DistinctMaterializingOperator
impl PushOperator for DistinctMaterializingOperator
Source§fn push(
&mut self,
chunk: DataChunk,
_sink: &mut dyn Sink,
) -> Result<bool, OperatorError>
fn push( &mut self, chunk: DataChunk, _sink: &mut dyn Sink, ) -> Result<bool, OperatorError>
Process an incoming chunk and push results to the sink. Read more
Source§fn finalize(&mut self, sink: &mut dyn Sink) -> Result<(), OperatorError>
fn finalize(&mut self, sink: &mut dyn Sink) -> Result<(), OperatorError>
Called when all input has been processed. Read more
Source§fn preferred_chunk_size(&self) -> ChunkSizeHint
fn preferred_chunk_size(&self) -> ChunkSizeHint
Hint for preferred chunk size.
Auto Trait Implementations§
impl Freeze for DistinctMaterializingOperator
impl RefUnwindSafe for DistinctMaterializingOperator
impl Send for DistinctMaterializingOperator
impl Sync for DistinctMaterializingOperator
impl Unpin for DistinctMaterializingOperator
impl UnwindSafe for DistinctMaterializingOperator
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