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

Method claim

arrow-array/src/array/byte_view_array.rs:933–941  ·  view source on GitHub ↗
(&self, pool: &dyn arrow_buffer::MemoryPool)

Source from the content-addressed store, hash-verified

931
932 #[cfg(feature = "pool")]
933 fn claim(&self, pool: &dyn arrow_buffer::MemoryPool) {
934 self.views.claim(pool);
935 for buffer in self.buffers.iter() {
936 buffer.claim(pool);
937 }
938 if let Some(nulls) = &self.nulls {
939 nulls.claim(pool);
940 }
941 }
942}
943
944impl<'a, T: ByteViewType + ?Sized> ArrayAccessor for &'a GenericByteViewArray<T> {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected