pub struct DupRows<'a> {
pub record_ids: &'a ArrayRef,
pub entity_types: &'a ArrayRef,
pub master_ids: &'a ArrayRef,
pub master_idx: &'a [usize],
pub is_identical: &'a [bool],
pub first_record_idx: u64,
}Expand description
The duplicate copies generated from one BaseRows batch. Every copy’s
master belongs to that same batch (pipeline.rs samples a batch’s
duplicates exclusively from its own masters), which is what lets the
whole batch be classified as soon as both are known.
Fields§
§record_ids: &'a ArrayRef§entity_types: &'a ArrayRef§master_ids: &'a ArrayRef§master_idx: &'a [usize]Global master index of each copy, within
base.first_master_idx..base.first_master_idx + base.len().
is_identical: &'a [bool]true when the noise assigned to that copy ended up a no-op (see
pipeline::unchanged_row_mask), false when it produced a real,
visible change.
first_record_idx: u64Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DupRows<'a>
impl<'a> !UnwindSafe for DupRows<'a>
impl<'a> Freeze for DupRows<'a>
impl<'a> Send for DupRows<'a>
impl<'a> Sync for DupRows<'a>
impl<'a> Unpin for DupRows<'a>
impl<'a> UnsafeUnpin for DupRows<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more