Read the value at `idx` into the provided `Row`.
(&self, idx: usize, row: &mut Row)
| 98 | |
| 99 | /// Read the value at `idx` into the provided `Row`. |
| 100 | pub fn read(&self, idx: usize, row: &mut Row) -> Result<(), anyhow::Error> { |
| 101 | let mut packer = row.packer(); |
| 102 | for reader in &self.readers { |
| 103 | reader.read(idx, &mut packer).context(idx)?; |
| 104 | } |
| 105 | Ok(()) |
| 106 | } |
| 107 | |
| 108 | /// Read all of the values in this [`ArrowReader`] into `rows`. |
| 109 | pub fn read_all(&self, rows: &mut Vec<Row>) -> Result<usize, anyhow::Error> { |