pub enum RowRef<'a> {
Map(&'a Row),
Columnar(ColumnarRowRef<'a>),
}Expand description
A row view whose values remain valid only for the current consumer call.
The map representation covers the scalar fallback executor. The columnar representation lets a downstream consumer pull selected values directly from an immutable batch without constructing an intermediate row map.
Variants§
Map(&'a Row)
Columnar(ColumnarRowRef<'a>)
Implementations§
Trait Implementations§
impl<'a> Copy for RowRef<'a>
Source§impl<'a> From<ColumnarRowRef<'a>> for RowRef<'a>
impl<'a> From<ColumnarRowRef<'a>> for RowRef<'a>
Source§fn from(row: ColumnarRowRef<'a>) -> Self
fn from(row: ColumnarRowRef<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for RowRef<'a>
impl<'a> RefUnwindSafe for RowRef<'a>
impl<'a> Send for RowRef<'a>
impl<'a> Sync for RowRef<'a>
impl<'a> Unpin for RowRef<'a>
impl<'a> UnsafeUnpin for RowRef<'a>
impl<'a> UnwindSafe for RowRef<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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