This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new 10794e6 PARQUET-2050: Expose repetition & definition level from
ColumnIO (#908)
10794e6 is described below
commit 10794e63326606fe4abf5c726b8fff8683ca6c20
Author: Chao Sun <[email protected]>
AuthorDate: Wed May 19 03:23:59 2021 -0700
PARQUET-2050: Expose repetition & definition level from ColumnIO (#908)
---
.../src/main/java/org/apache/parquet/io/ColumnIO.java | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/parquet-column/src/main/java/org/apache/parquet/io/ColumnIO.java
b/parquet-column/src/main/java/org/apache/parquet/io/ColumnIO.java
index 43416e4..7fe2641 100644
--- a/parquet-column/src/main/java/org/apache/parquet/io/ColumnIO.java
+++ b/parquet-column/src/main/java/org/apache/parquet/io/ColumnIO.java
@@ -71,11 +71,17 @@ abstract public class ColumnIO {
return name;
}
- int getRepetitionLevel() {
+ /**
+ * Returns the maximum repetition level for this column
+ */
+ public int getRepetitionLevel() {
return repetitionLevel;
}
- int getDefinitionLevel() {
+ /**
+ * Returns the maximum definition level for this column
+ */
+ public int getDefinitionLevel() {
return definitionLevel;
}