pub struct ArrowBatch { /* private fields */ }Implementations§
Source§impl ArrowBatch
impl ArrowBatch
pub fn try_new(batch: RecordBatch) -> Result<Self>
pub fn as_record_batch(&self) -> &RecordBatch
pub fn ipc_bytes(&self) -> &[u8] ⓘ
pub fn from_ipc(bytes: &[u8]) -> Result<Self>
pub fn validate_schema(&self, schema: &Schema) -> Result<()>
Trait Implementations§
Source§impl Clone for ArrowBatch
impl Clone for ArrowBatch
Source§impl Debug for ArrowBatch
impl Debug for ArrowBatch
Source§impl From<&ArrowBatch> for ArrowIpc
impl From<&ArrowBatch> for ArrowIpc
Source§fn from(batch: &ArrowBatch) -> Self
fn from(batch: &ArrowBatch) -> Self
Converts to this type from the input type.
Source§impl From<ArrowBatch> for ArrowIpc
impl From<ArrowBatch> for ArrowIpc
Source§fn from(batch: ArrowBatch) -> Self
fn from(batch: ArrowBatch) -> Self
Converts to this type from the input type.
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