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

Method column

arrow-array/src/record_batch.rs:625–627  ·  view source on GitHub ↗

Get a reference to a column's array by index. # Panics Panics if `index` is outside of `0..num_columns`.

(&self, index: usize)

Source from the content-addressed store, hash-verified

623 ///
624 /// Panics if `index` is outside of `0..num_columns`.
625 pub fn column(&self, index: usize) -> &ArrayRef {
626 &self.columns[index]
627 }
628
629 /// Get a reference to a column's array by name.
630 pub fn column_by_name(&self, name: &str) -> Option<&ArrayRef> {

Calls

no outgoing calls