pub struct RecordBatchDecoder<'a> { /* private fields */ }Expand description
State for decoding Arrow arrays from an IPC RecordBatch structure to
RecordBatch
Implementations§
Source§impl<'a> RecordBatchDecoder<'a>
impl<'a> RecordBatchDecoder<'a>
Sourcepub fn with_projection(
self,
projection: Option<&'a [usize]>,
) -> RecordBatchDecoder<'a>
pub fn with_projection( self, projection: Option<&'a [usize]>, ) -> RecordBatchDecoder<'a>
Set the projection (default: None)
If set, the projection is the list of column indices that will be read
Sourcepub fn with_require_alignment(
self,
require_alignment: bool,
) -> RecordBatchDecoder<'a>
pub fn with_require_alignment( self, require_alignment: bool, ) -> RecordBatchDecoder<'a>
Set require_alignment (default: false)
If true, buffers must be aligned appropriately or error will result. If false, buffers will be copied to aligned buffers if necessary.
Auto Trait Implementations§
impl<'a> Freeze for RecordBatchDecoder<'a>
impl<'a> !RefUnwindSafe for RecordBatchDecoder<'a>
impl<'a> Send for RecordBatchDecoder<'a>
impl<'a> Sync for RecordBatchDecoder<'a>
impl<'a> Unpin for RecordBatchDecoder<'a>
impl<'a> UnsafeUnpin for RecordBatchDecoder<'a>
impl<'a> !UnwindSafe for RecordBatchDecoder<'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> 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