pub struct Table { /* private fields */ }Implementations§
Source§impl Table
impl Table
pub fn with_capacity(schema: &[Kind], cap: usize) -> Self
pub fn check_consistent(&self) -> Result<()>
pub fn mem_estimate(&self) -> usize
pub fn get(&mut self, item: usize) -> &mut VarArray
pub fn get_many(&mut self, items: &[usize]) -> Vec<&mut VarArray>
pub fn finish_bulk_push(&mut self) -> Result<()>
pub fn rows(&self) -> usize
pub fn push_null(&mut self, i: usize) -> Result<()>
pub fn push_str(&mut self, i: usize, val: Option<&str>) -> Result<()>
pub fn push_bool(&mut self, i: usize, val: Option<bool>) -> Result<()>
pub fn push_fsb( &mut self, i: usize, val: Option<impl AsRef<[u8]>>, ) -> Result<()>
pub fn push_primitive<T: NativeType>( &mut self, i: usize, val: Option<T>, ) -> Result<()>
pub fn take_batch(&mut self) -> Vec<Arc<dyn Array>>
Auto Trait Implementations§
impl Freeze for Table
impl !RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl !UnwindSafe for Table
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