[−][src]Struct arrow::builder::BufferBuilder
Buffer builder with zero-copy build method
Trait Implementations
impl<T: ArrowPrimitiveType> BufferBuilderTrait<T> for BufferBuilder<T>[src]
impl<T: ArrowPrimitiveType> BufferBuilderTrait<T> for BufferBuilder<T>fn new(capacity: usize) -> Self[src]
fn new(capacity: usize) -> SelfCreates a builder with a fixed initial capacity
fn len(&self) -> usize[src]
fn len(&self) -> usizeReturns the number of array elements (slots) in the builder
fn capacity(&self) -> usize[src]
fn capacity(&self) -> usizeReturns the current capacity of the builder (number of elements)
fn advance(&mut self, i: usize) -> Result<()>[src]
fn advance(&mut self, i: usize) -> Result<()>fn reserve(&mut self, n: usize) -> Result<()>[src]
fn reserve(&mut self, n: usize) -> Result<()>Reserves memory for n elements of type T.
fn push(&mut self, v: T::Native) -> Result<()>[src]
fn push(&mut self, v: T::Native) -> Result<()>Pushes a value into the builder, growing the internal buffer as needed.
fn push_slice(&mut self, slice: &[T::Native]) -> Result<()>[src]
fn push_slice(&mut self, slice: &[T::Native]) -> Result<()>Pushes a slice of type T, growing the internal buffer as needed.
fn finish(self) -> Buffer[src]
fn finish(self) -> BufferConsumes this builder and returns an immutable Buffer.
impl BufferBuilderTrait<BooleanType> for BufferBuilder<BooleanType>[src]
impl BufferBuilderTrait<BooleanType> for BufferBuilder<BooleanType>fn new(capacity: usize) -> Self[src]
fn new(capacity: usize) -> SelfCreates a builder with a fixed initial capacity.
fn advance(&mut self, i: usize) -> Result<()>[src]
fn advance(&mut self, i: usize) -> Result<()>fn push(&mut self, v: bool) -> Result<()>[src]
fn push(&mut self, v: bool) -> Result<()>Pushes a value into the builder, growing the internal buffer as needed.
fn push_slice(&mut self, slice: &[bool]) -> Result<()>[src]
fn push_slice(&mut self, slice: &[bool]) -> Result<()>Pushes a slice of type T, growing the internal buffer as needed.
fn reserve(&mut self, n: usize) -> Result<()>[src]
fn reserve(&mut self, n: usize) -> Result<()>Reserves memory for n elements of type T.
fn finish(self) -> Buffer[src]
fn finish(self) -> BufferConsumes this and returns an immutable Buffer.
fn len(&self) -> usize[src]
fn len(&self) -> usizefn capacity(&self) -> usize[src]
fn capacity(&self) -> usizeAuto Trait Implementations
impl<T> Send for BufferBuilder<T> where
T: Send,
impl<T> Send for BufferBuilder<T> where
T: Send, impl<T> Sync for BufferBuilder<T> where
T: Sync,
impl<T> Sync for BufferBuilder<T> where
T: Sync, Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId