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]>) -> Self
pub fn with_projection(self, projection: Option<&'a [usize]>) -> Self
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) -> Self
pub fn with_require_alignment(self, require_alignment: bool) -> Self
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> !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