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

Function take_bits

arrow-ord/src/cmp.rs:507–510  ·  view source on GitHub ↗
(v: &dyn AnyDictionaryArray, buffer: BooleanBuffer)

Source from the content-addressed store, hash-verified

505}
506
507fn take_bits(v: &dyn AnyDictionaryArray, buffer: BooleanBuffer) -> BooleanBuffer {
508 let array = take(&BooleanArray::new(buffer, None), v.keys(), None).unwrap();
509 array.as_boolean().values().clone()
510}
511
512/// Invokes `f` with values `0..len` collecting the boolean results into a new `BooleanBuffer`
513///

Callers 1

applyFunction · 0.70

Calls 5

takeFunction · 0.85
keysMethod · 0.45
cloneMethod · 0.45
valuesMethod · 0.45
as_booleanMethod · 0.45

Tested by

no test coverage detected