Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Mar 2, 2022
1 parent 1467ca9 commit bdfcc27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arrow/src/json/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ where
Ok(())
}

/// Convert the `RecordBatch` into JSON rows, and write them to the output
pub fn write(&mut self, batch: RecordBatch) -> Result<()> {
for row in record_batches_to_json_rows(&[batch])? {
self.write_row(&Value::Object(row))?;
Expand Down

0 comments on commit bdfcc27

Please sign in to comment.