Struct arrow::array::FixedSizeBinaryBuilder [−][src]
pub struct FixedSizeBinaryBuilder { /* fields omitted */ }
Implementations
impl FixedSizeBinaryBuilder
[src]
impl FixedSizeBinaryBuilder
[src]pub fn new(capacity: usize, byte_width: i32) -> Self
[src]
pub fn new(capacity: usize, byte_width: i32) -> Self
[src]Creates a new BinaryBuilder
, capacity
is the number of bytes in the values
array
pub fn append_value(&mut self, value: impl AsRef<[u8]>) -> Result<()>
[src]
pub fn append_value(&mut self, value: impl AsRef<[u8]>) -> Result<()>
[src]Appends a byte slice into the builder.
Automatically calls the append
method to delimit the slice appended in as a
distinct array element.
pub fn append_null(&mut self) -> Result<()>
[src]
pub fn append_null(&mut self) -> Result<()>
[src]Append a null value to the array.
pub fn finish(&mut self) -> FixedSizeBinaryArray
[src]
pub fn finish(&mut self) -> FixedSizeBinaryArray
[src]Builds the FixedSizeBinaryArray
and reset this builder.
Trait Implementations
impl ArrayBuilder for FixedSizeBinaryBuilder
[src]
impl ArrayBuilder for FixedSizeBinaryBuilder
[src]fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]Returns the builder as a mutable Any
reference.
fn into_box_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn into_box_any(self: Box<Self>) -> Box<dyn Any>
[src]Returns the boxed builder as a box of Any
.
Auto Trait Implementations
impl RefUnwindSafe for FixedSizeBinaryBuilder
impl Send for FixedSizeBinaryBuilder
impl Sync for FixedSizeBinaryBuilder
impl Unpin for FixedSizeBinaryBuilder
impl UnwindSafe for FixedSizeBinaryBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,