You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by bl...@apache.org on 2015/02/26 22:40:11 UTC

incubator-parquet-mr git commit: PARQUET-190: fix an inconsistent Javadoc comment of ReadSupport.prepareForRead

Repository: incubator-parquet-mr
Updated Branches:
  refs/heads/master f48bca051 -> 4f87e0f48


PARQUET-190: fix an inconsistent Javadoc comment of ReadSupport.prepareForRead

ReadSupport.prepareForRead does not return RecordConsumer but RecordMaterializer

Author: choplin <ch...@gmail.com>

Closes #125 from choplin/fix-javadoc-comment and squashes the following commits:

c3574f3 [choplin] fix an inconsistent Javadoc comment of ReadSupport.prepareForRead


Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/commit/4f87e0f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/tree/4f87e0f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/diff/4f87e0f4

Branch: refs/heads/master
Commit: 4f87e0f483ed76a885c228c6ab75249f25041081
Parents: f48bca0
Author: choplin <ch...@gmail.com>
Authored: Thu Feb 26 13:40:02 2015 -0800
Committer: Ryan Blue <bl...@apache.org>
Committed: Thu Feb 26 13:40:02 2015 -0800

----------------------------------------------------------------------
 parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/4f87e0f4/parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java
----------------------------------------------------------------------
diff --git a/parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java b/parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java
index 433ac9a..7ad192d 100644
--- a/parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java
+++ b/parquet-hadoop/src/main/java/parquet/hadoop/api/ReadSupport.java
@@ -89,13 +89,13 @@ abstract public class ReadSupport<T> {
 
   /**
    * called in {@link org.apache.hadoop.mapreduce.RecordReader#initialize(org.apache.hadoop.mapreduce.InputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext)} in the back end
-   * the returned RecordConsumer will materialize the records and add them to the destination
+   * the returned RecordMaterializer will materialize the records and add them to the destination
    *
    * @param configuration    the job configuration
    * @param keyValueMetaData the app specific metadata from the file
    * @param fileSchema       the schema of the file
    * @param readContext      returned by the init method
-   * @return the recordConsumer that will receive the events
+   * @return the recordMaterializer that will materialize the records
    */
   abstract public RecordMaterializer<T> prepareForRead(
           Configuration configuration,