Struct arrow::array::MapBuilder
source · [−]pub struct MapBuilder<K: ArrayBuilder, V: ArrayBuilder> { /* private fields */ }
Implementations
sourceimpl<K: ArrayBuilder, V: ArrayBuilder> MapBuilder<K, V>
impl<K: ArrayBuilder, V: ArrayBuilder> MapBuilder<K, V>
pub fn new(
field_names: Option<MapFieldNames>,
key_builder: K,
value_builder: V
) -> Self
pub fn with_capacity(
field_names: Option<MapFieldNames>,
key_builder: K,
value_builder: V,
capacity: usize
) -> Self
pub fn keys(&mut self) -> &mut K
pub fn values(&mut self) -> &mut V
pub fn finish(&mut self) -> MapArray
Trait Implementations
sourceimpl<K: ArrayBuilder, V: ArrayBuilder> ArrayBuilder for MapBuilder<K, V>
impl<K: ArrayBuilder, V: ArrayBuilder> ArrayBuilder for MapBuilder<K, V>
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Returns the builder as a mutable Any
reference. Read more
sourcefn into_box_any(self: Box<Self>) -> Box<dyn Any>
fn into_box_any(self: Box<Self>) -> Box<dyn Any>
Returns the boxed builder as a box of Any
.
sourceimpl<K: Debug + ArrayBuilder, V: Debug + ArrayBuilder> Debug for MapBuilder<K, V>
impl<K: Debug + ArrayBuilder, V: Debug + ArrayBuilder> Debug for MapBuilder<K, V>
Auto Trait Implementations
impl<K, V> RefUnwindSafe for MapBuilder<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MapBuilder<K, V>
impl<K, V> Sync for MapBuilder<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for MapBuilder<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for MapBuilder<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more