MCPcopy Create free account
hub / github.com/apache/arrow-rs / new

Method new

arrow-array/src/builder/map_builder.rs:91–94  ·  view source on GitHub ↗

Creates a new `MapBuilder`

(field_names: Option<MapFieldNames>, key_builder: K, value_builder: V)

Source from the content-addressed store, hash-verified

89impl<K: ArrayBuilder, V: ArrayBuilder> MapBuilder<K, V> {
90 /// Creates a new `MapBuilder`
91 pub fn new(field_names: Option<MapFieldNames>, key_builder: K, value_builder: V) -> Self {
92 let capacity = key_builder.len();
93 Self::with_capacity(field_names, key_builder, value_builder, capacity)
94 }
95
96 /// Creates a new `MapBuilder` with capacity
97 pub fn with_capacity(

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected