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

Method len

arrow-array/src/array/map_array.rs:387–389  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

385 }
386
387 fn len(&self) -> usize {
388 self.value_offsets.len() - 1
389 }
390
391 fn is_empty(&self) -> bool {
392 self.value_offsets.len() <= 1

Callers 9

try_newMethod · 0.45
fromMethod · 0.45
new_from_stringsMethod · 0.45
is_emptyMethod · 0.45
create_from_buffersFunction · 0.45
test_map_arrayFunction · 0.45
test_map_array_sliceFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_map_arrayFunction · 0.36
test_map_array_sliceFunction · 0.36