pub struct ArrowBatch { /* private fields */ }Implementations§
Source§impl ArrowBatch
impl ArrowBatch
pub fn try_new(batch: RecordBatch) -> Result<ArrowBatch, Error>
pub fn as_record_batch(&self) -> &RecordBatch
pub fn ipc_bytes(&self) -> &[u8] ⓘ
pub fn from_ipc(bytes: &[u8]) -> Result<ArrowBatch, Error>
pub fn validate_schema(&self, schema: &Schema) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for ArrowBatch
impl Clone for ArrowBatch
Source§fn clone(&self) -> ArrowBatch
fn clone(&self) -> ArrowBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrowBatch
impl Debug for ArrowBatch
Source§impl MemorySize for ArrowBatch
impl MemorySize for ArrowBatch
fn memory_size(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for ArrowBatch
impl !UnwindSafe for ArrowBatch
impl Freeze for ArrowBatch
impl Send for ArrowBatch
impl Sync for ArrowBatch
impl Unpin for ArrowBatch
impl UnsafeUnpin for ArrowBatch
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