You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ne...@apache.org on 2021/09/11 07:53:24 UTC
[arrow-rs] branch master updated: Export `RowColumnIter` to fix doc
(#763)
This is an automated email from the ASF dual-hosted git repository.
nevime pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new d2cec2c Export `RowColumnIter` to fix doc (#763)
d2cec2c is described below
commit d2cec2ccef6adf92754883bd58a7fdd4858c02a9
Author: Richard <hu...@gmail.com>
AuthorDate: Sat Sep 11 15:53:16 2021 +0800
Export `RowColumnIter` to fix doc (#763)
* Export RowColumnIter to fix doc
* Add documentation for RowColumnIter
* Improve documentation for RowColumnIter
---
parquet/src/record/api.rs | 1 +
parquet/src/record/mod.rs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/parquet/src/record/api.rs b/parquet/src/record/api.rs
index f04a7bb..0293ffe 100644
--- a/parquet/src/record/api.rs
+++ b/parquet/src/record/api.rs
@@ -90,6 +90,7 @@ impl Row {
}
}
+/// `RowColumnIter` represents an iterator over column names and values in a Row.
pub struct RowColumnIter<'a> {
fields: &'a Vec<(String, Field)>,
curr: usize,
diff --git a/parquet/src/record/mod.rs b/parquet/src/record/mod.rs
index fb4abb5..1202665 100644
--- a/parquet/src/record/mod.rs
+++ b/parquet/src/record/mod.rs
@@ -23,6 +23,6 @@ mod record_writer;
mod triplet;
pub use self::{
- api::{Field, List, ListAccessor, Map, MapAccessor, Row, RowAccessor},
+ api::{Field, List, ListAccessor, Map, MapAccessor, Row, RowAccessor, RowColumnIter},
record_writer::RecordWriter,
};