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

Method len

parquet/src/arrow/buffer/dictionary_buffer.rs:43–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

41impl<K: ArrowNativeType + Ord, V: OffsetSizeTrait> DictionaryBuffer<K, V> {
42 #[allow(unused)]
43 pub fn len(&self) -> usize {
44 match self {
45 Self::Dict { keys, .. } => keys.len(),
46 Self::Values { values } => values.len(),
47 }
48 }
49
50 /// Returns a mutable reference to a keys array
51 ///

Callers 5

spill_valuesMethod · 0.45
into_arrayMethod · 0.45
pack_values_implFunction · 0.45
pack_fixed_values_implFunction · 0.45
test_dictionary_bufferFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_dictionary_bufferFunction · 0.36