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

Method column

arrow-array/src/array/struct_array.rs:285–287  ·  view source on GitHub ↗

Returns the field at `pos`.

(&self, pos: usize)

Source from the content-addressed store, hash-verified

283
284 /// Returns the field at `pos`.
285 pub fn column(&self, pos: usize) -> &ArrayRef {
286 &self.fields[pos]
287 }
288
289 /// Return the number of fields in this struct array
290 pub fn num_columns(&self) -> usize {

Callers 6

test_slice_unionFunction · 0.45
keysMethod · 0.45
valuesMethod · 0.45
column_by_nameMethod · 0.45
fmtMethod · 0.45
test_struct_array_sliceFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_slice_unionFunction · 0.36
test_struct_array_sliceFunction · 0.36