pub struct ArrowRow<'a> { /* private fields */ }Expand description
A row from an Arrow record batch, providing typed value access.
Implementations§
Source§impl<'a> ArrowRow<'a>
impl<'a> ArrowRow<'a>
Sourcepub fn column_count(&self) -> usize
pub fn column_count(&self) -> usize
Returns the number of columns in this row.
Sourcepub fn get<T: FromArrowValue>(&self, col: usize) -> Option<T>
pub fn get<T: FromArrowValue>(&self, col: usize) -> Option<T>
Gets a value at the given column index, with type conversion.
Sourcepub fn get_bool(&self, col: usize) -> Option<bool>
pub fn get_bool(&self, col: usize) -> Option<bool>
Gets a bool value at the given column index.
Sourcepub fn get_string(&self, col: usize) -> Option<String>
pub fn get_string(&self, col: usize) -> Option<String>
Gets a String value at the given column index.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ArrowRow<'a>
impl<'a> !RefUnwindSafe for ArrowRow<'a>
impl<'a> Send for ArrowRow<'a>
impl<'a> Sync for ArrowRow<'a>
impl<'a> Unpin for ArrowRow<'a>
impl<'a> UnsafeUnpin for ArrowRow<'a>
impl<'a> !UnwindSafe for ArrowRow<'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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request