Struct arrow2::array::growable::GrowableBinary
source · pub struct GrowableBinary<'a, O: Offset> { /* private fields */ }
Expand description
Concrete Growable
for the BinaryArray
.
Implementations§
source§impl<'a, O: Offset> GrowableBinary<'a, O>
impl<'a, O: Offset> GrowableBinary<'a, O>
sourcepub fn new(
arrays: Vec<&'a BinaryArray<O>>,
use_validity: bool,
capacity: usize
) -> Self
pub fn new(
arrays: Vec<&'a BinaryArray<O>>,
use_validity: bool,
capacity: usize
) -> Self
Creates a new GrowableBinary
bound to arrays
with a pre-allocated capacity
.
Panics
If arrays
is empty.
Trait Implementations§
source§impl<'a, O: Offset> From<GrowableBinary<'a, O>> for BinaryArray<O>
impl<'a, O: Offset> From<GrowableBinary<'a, O>> for BinaryArray<O>
source§fn from(val: GrowableBinary<'a, O>) -> Self
fn from(val: GrowableBinary<'a, O>) -> Self
Converts to this type from the input type.
source§impl<'a, O: Offset> Growable<'a> for GrowableBinary<'a, O>
impl<'a, O: Offset> Growable<'a> for GrowableBinary<'a, O>
source§fn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
Extends this
Growable
with null elements, disregarding the bound arrays