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

Method build_unchecked

arrow-data/src/data.rs:2153–2155  ·  view source on GitHub ↗

Creates an array data, without any validation Note: This is shorthand for ```rust # #[expect(unsafe_op_in_unsafe_fn)] # let mut builder = arrow_data::ArrayDataBuilder::new(arrow_schema::DataType::Null); # let _ = unsafe { builder.skip_validation(true).build().unwrap() # }; ``` # Safety The same caveats as [`ArrayData::new_unchecked`] apply.

(self)

Source from the content-addressed store, hash-verified

2151 /// The same caveats as [`ArrayData::new_unchecked`]
2152 /// apply.
2153 pub unsafe fn build_unchecked(self) -> ArrayData {
2154 unsafe { self.skip_validation(true) }.build().unwrap()
2155 }
2156
2157 /// Creates an `ArrayData`, consuming `self`
2158 ///

Callers 15

cast_byte_containerFunction · 0.45
decode_binaryFunction · 0.45
decode_binary_view_innerFunction · 0.45
decode_stringFunction · 0.45
decode_boolFunction · 0.45
decode_fixedFunction · 0.45
decode_fixed_size_binaryFunction · 0.45
decode_columnFunction · 0.45
decodeFunction · 0.45
decode_fixed_size_listFunction · 0.45
filter_dictFunction · 0.45

Calls 2

skip_validationMethod · 0.80
buildMethod · 0.45