pub struct ArrowTable { /* private fields */ }Implementations§
Source§impl ArrowTable
impl ArrowTable
pub fn try_new(schema: SchemaRef, batches: Vec<RecordBatch>) -> Result<Self>
pub fn from_batches(batches: Vec<RecordBatch>) -> Result<Self>
pub fn empty(schema: Schema) -> Self
pub fn schema(&self) -> &SchemaRef
pub fn batches(&self) -> &[RecordBatch]
pub fn into_batches(self) -> Vec<RecordBatch>
pub fn with_schema(&self, schema: Schema) -> Result<Self>
pub fn row_count(&self) -> usize
pub fn column_count(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for ArrowTable
impl Clone for ArrowTable
Source§fn clone(&self) -> ArrowTable
fn clone(&self) -> ArrowTable
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ArrowTable
impl !RefUnwindSafe for ArrowTable
impl Send for ArrowTable
impl Sync for ArrowTable
impl Unpin for ArrowTable
impl UnsafeUnpin for ArrowTable
impl !UnwindSafe for ArrowTable
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