pub struct RowIdAndDeletesConfig {
pub params: ReadBatchParams,
pub with_row_id: bool,
pub with_row_addr: bool,
pub deletion_vector: Option<Arc<DeletionVector>>,
pub row_id_sequence: Option<Arc<RowIdSequence>>,
pub make_deletions_null: bool,
pub total_num_rows: u32,
}
Expand description
Configuration needed to apply row ids and deletions to a batch
Fields§
§params: ReadBatchParams
The row ids that were requested
with_row_id: bool
Whether to include the row id column in the final batch
with_row_addr: bool
Whether to include the row address column in the final batch
deletion_vector: Option<Arc<DeletionVector>>
An optional deletion vector to apply to the batch
row_id_sequence: Option<Arc<RowIdSequence>>
An optional row id sequence to use for the row id column.
make_deletions_null: bool
Whether to make deleted rows null instead of filtering them out
total_num_rows: u32
The total number of rows that will be loaded
This is needed to convert ReadbatchParams::RangeTo into a valid range
Auto Trait Implementations§
impl Freeze for RowIdAndDeletesConfig
impl RefUnwindSafe for RowIdAndDeletesConfig
impl Send for RowIdAndDeletesConfig
impl Sync for RowIdAndDeletesConfig
impl Unpin for RowIdAndDeletesConfig
impl UnwindSafe for RowIdAndDeletesConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.