pub struct BaseRows<'a> {
pub record_ids: &'a ArrayRef,
pub entity_types: &'a ArrayRef,
pub master_ids: &'a ArrayRef,
pub entity_idx: u64,
pub first_master_idx: u64,
pub first_record_idx: u64,
}Expand description
One entity batch’s base rows: every row introduces a brand-new master.
Masters are contiguous — row j’s master is global index
first_master_idx + j of entity entity_idx, and its record is global
record index first_record_idx + j (the same numbers the pipeline
formats into master_id/record_id).
Fields§
§record_ids: &'a ArrayRef§entity_types: &'a ArrayRef§master_ids: &'a ArrayRef§entity_idx: u64§first_master_idx: u64§first_record_idx: u64Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BaseRows<'a>
impl<'a> !UnwindSafe for BaseRows<'a>
impl<'a> Freeze for BaseRows<'a>
impl<'a> Send for BaseRows<'a>
impl<'a> Sync for BaseRows<'a>
impl<'a> Unpin for BaseRows<'a>
impl<'a> UnsafeUnpin for BaseRows<'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