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

Method len

arrow-array/src/array/dictionary_array.rs:384–386  ·  view source on GitHub ↗

The length of the dictionary is the length of the keys array.

(&self)

Source from the content-addressed store, hash-verified

382
383 /// The length of the dictionary is the length of the keys array.
384 pub fn len(&self) -> usize {
385 self.keys.len()
386 }
387
388 /// Whether this dictionary is empty
389 pub fn is_empty(&self) -> bool {

Callers 8

try_newMethod · 0.45
lookup_keyMethod · 0.45
occupancyMethod · 0.45
logical_nullsMethod · 0.45
value_uncheckedMethod · 0.45
normalized_keysMethod · 0.45
test_dictionary_arrayFunction · 0.45
test_logical_nullsFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_dictionary_arrayFunction · 0.36
test_logical_nullsFunction · 0.36