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

Method as_boolean

arrow-array/src/cast.rs:840–842  ·  view source on GitHub ↗

Downcast this to a [`BooleanArray`] panicking if not possible

(&self)

Source from the content-addressed store, hash-verified

838
839 /// Downcast this to a [`BooleanArray`] panicking if not possible
840 fn as_boolean(&self) -> &BooleanArray {
841 self.as_boolean_opt().expect("boolean array")
842 }
843
844 /// Downcast this to a [`PrimitiveArray`] returning `None` if not possible
845 fn as_primitive_opt<T: ArrowPrimitiveType>(&self) -> Option<&PrimitiveArray<T>>;

Callers 15

make_encoderMethod · 0.45
test_null_booleanFunction · 0.45
concat_booleanFunction · 0.45
remove_null_bufferFunction · 0.45
remove_null_valuesFunction · 0.45
take_bitsFunction · 0.45
compare_booleanFunction · 0.45
test_basicFunction · 0.45
test_json_basicFunction · 0.45

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_boolean_optMethod · 0.80