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

Method len

arrow-array/src/array/boolean_array.rs:132–134  ·  view source on GitHub ↗

Returns the length of this array.

(&self)

Source from the content-addressed store, hash-verified

130
131 /// Returns the length of this array.
132 pub fn len(&self) -> usize {
133 self.values.len()
134 }
135
136 /// Returns whether this array is empty.
137 pub fn is_empty(&self) -> bool {

Callers 15

and_kleeneFunction · 0.45
or_kleeneFunction · 0.45
binary_boolean_kernelFunction · 0.45
and_notFunction · 0.45
is_nullFunction · 0.45
is_not_nullFunction · 0.45
binaryFunction · 0.45
binary_mutFunction · 0.45
try_binaryFunction · 0.45
try_binary_mutFunction · 0.45
aggregate_nonnull_lanesFunction · 0.45
aggregate_nullable_lanesFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_null_count_handlingFunction · 0.36
test_generic_listFunction · 0.36
test_generic_list_viewFunction · 0.36
test_union_sparse_arrayFunction · 0.36
test_union_dense_arrayFunction · 0.36
test_fixed_size_listFunction · 0.36
test_list_viewFunction · 0.36