pub struct RecordBatchRef<'a>(/* private fields */);Expand description
Reference to a deserialized RecordBatch.
Implementations§
Source§impl<'a> RecordBatchRef<'a>
impl<'a> RecordBatchRef<'a>
Sourcepub fn length(&self) -> Result<i64>
pub fn length(&self) -> Result<i64>
Getter for the length field.
Sourcepub fn nodes(&self) -> Result<Option<Vector<'a, FieldNodeRef<'a>>>>
pub fn nodes(&self) -> Result<Option<Vector<'a, FieldNodeRef<'a>>>>
Getter for the nodes field.
Sourcepub fn buffers(&self) -> Result<Option<Vector<'a, BufferRef<'a>>>>
pub fn buffers(&self) -> Result<Option<Vector<'a, BufferRef<'a>>>>
Getter for the buffers field.
Sourcepub fn compression(&self) -> Result<Option<BodyCompressionRef<'a>>>
pub fn compression(&self) -> Result<Option<BodyCompressionRef<'a>>>
Getter for the compression field.
Sourcepub fn variadic_buffer_counts(&self) -> Result<Option<Vector<'a, i64>>>
pub fn variadic_buffer_counts(&self) -> Result<Option<Vector<'a, i64>>>
Getter for the variadicBufferCounts field.
Trait Implementations§
Source§impl<'a> Clone for RecordBatchRef<'a>
impl<'a> Clone for RecordBatchRef<'a>
Source§fn clone(&self) -> RecordBatchRef<'a>
fn clone(&self) -> RecordBatchRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for RecordBatchRef<'a>
impl<'a> Debug for RecordBatchRef<'a>
Source§impl<'a> ReadAsRoot<'a> for RecordBatchRef<'a>
impl<'a> ReadAsRoot<'a> for RecordBatchRef<'a>
Source§impl<'a> TryFrom<RecordBatchRef<'a>> for RecordBatch
impl<'a> TryFrom<RecordBatchRef<'a>> for RecordBatch
impl<'a> Copy for RecordBatchRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordBatchRef<'a>
impl<'a> RefUnwindSafe for RecordBatchRef<'a>
impl<'a> Send for RecordBatchRef<'a>
impl<'a> Sync for RecordBatchRef<'a>
impl<'a> Unpin for RecordBatchRef<'a>
impl<'a> UnwindSafe for RecordBatchRef<'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