You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/18 11:35:11 UTC

[jira] [Commented] (FLINK-2233) InputFormat nextRecord Javadocs out of sync

    [ https://issues.apache.org/jira/browse/FLINK-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010714#comment-15010714 ] 

ASF GitHub Bot commented on FLINK-2233:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/1374

    [FLINK-2233] Update InputFormat nextRecord javadocs

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 2233_IF_nR_docu

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1374.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1374
    
----
commit a53f2e10c936ef422d3cef6067837d114c8bc597
Author: zentol <ch...@apache.org>
Date:   2015-11-18T10:32:25Z

    [FLINK-2233] Update InputF nextRecord javadocs

----


> InputFormat nextRecord Javadocs out of sync
> -------------------------------------------
>
>                 Key: FLINK-2233
>                 URL: https://issues.apache.org/jira/browse/FLINK-2233
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9, 0.10.0
>            Reporter: Ufuk Celebi
>
> {code}
> /**
> 	 * Tries to read the next pair from the input. By using the return value invalid records in the
> 	 * input can be skipped.
> 	 * <p>
> 	 * When this method is called, the input format it guaranteed to be opened.
> 	 * 
> 	 * @param reuse Object that may be reused.
> 	 * @return Indicates whether the record could be successfully read. A return value of <i>true</i>
> 	 *         indicates that the read was successful, a return value of false indicates that the
> 	 *         current record was not read successfully and should be skipped.
> 	 *         
> 	 * @throws IOException Thrown, if an I/O error occurred.
> 	 */
> 	OT nextRecord(OT reuse) throws IOException;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)