Struct arrow::array::DecimalBuilder [−][src]
pub struct DecimalBuilder { /* fields omitted */ }
Implementations
impl DecimalBuilder
[src]
impl DecimalBuilder
[src]pub fn new(capacity: usize, precision: usize, scale: usize) -> Self
[src]
pub fn new(capacity: usize, precision: usize, scale: usize) -> Self
[src]Creates a new BinaryBuilder
, capacity
is the number of bytes in the values
array
pub fn append_value(&mut self, value: i128) -> Result<()>
[src]
pub fn append_value(&mut self, value: i128) -> 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) -> DecimalArray
[src]
pub fn finish(&mut self) -> DecimalArray
[src]Builds the DecimalArray
and reset this builder.
Trait Implementations
impl ArrayBuilder for DecimalBuilder
[src]
impl ArrayBuilder for DecimalBuilder
[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 DecimalBuilder
impl Send for DecimalBuilder
impl Sync for DecimalBuilder
impl Unpin for DecimalBuilder
impl UnwindSafe for DecimalBuilder
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>,