MCPcopy Create free account
hub / github.com/apache/datafusion / len

Method len

datafusion/functions-nested/src/array_has.rs:270–276  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

268
269impl<'a> ArrayWrapper<'a> {
270 fn len(&self) -> usize {
271 match self {
272 ArrayWrapper::FixedSizeList(arr) => arr.len(),
273 ArrayWrapper::List(arr) => arr.len(),
274 ArrayWrapper::LargeList(arr) => arr.len(),
275 }
276 }
277
278 fn iter(&self) -> Box<dyn Iterator<Item = Option<ArrayRef>> + 'a> {
279 match self {

Callers 15

bench_array_positionFunction · 0.45
bench_array_positionsFunction · 0.45
invoke_array_sortFunction · 0.45
create_argsFunction · 0.45
create_args_nFunction · 0.45
create_argsFunction · 0.45
create_args_nFunction · 0.45
gen_unique_valuesFunction · 0.45
gen_repeat_valuesFunction · 0.45
bench_map_caseFunction · 0.45
general_replaceFunction · 0.45
make_scalar_functionFunction · 0.45

Calls

no outgoing calls

Tested by 1