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

Method get_physical_index

arrow-array/src/array/run_array.rs:319–321  ·  view source on GitHub ↗

Calls [`RunEndBuffer::get_physical_index`]. The result is arbitrary if `logical_index >= self.len()`

(&self, logical_index: usize)

Source from the content-addressed store, hash-verified

317 ///
318 /// The result is arbitrary if `logical_index >= self.len()`
319 pub fn get_physical_index(&self, logical_index: usize) -> usize {
320 self.run_ends.get_physical_index(logical_index)
321 }
322
323 /// Returns the physical indices corresponding to the provided logical indices.
324 ///

Callers 4

expand_ree_to_int32Function · 0.45
value_uncheckedMethod · 0.45
test_ree_array_accessorFunction · 0.45

Calls

no outgoing calls