Skip to content

Commit

Permalink
[FLINK-2233] Update InputF nextRecord javadocs
Browse files Browse the repository at this point in the history
This closes apache#2233.
  • Loading branch information
zentol committed Nov 18, 2015
1 parent 1f45c87 commit 7beb011
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,12 @@ public interface InputFormat<OT, T extends InputSplit> extends InputSplitSource<
boolean reachedEnd() throws IOException;

/**
* Tries to read the next pair from the input. By using the return value invalid records in the
* input can be skipped.
* Reads the next record from the input.
* <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.
* @return Read record.
*
* @throws IOException Thrown, if an I/O error occurred.
*/
Expand Down

0 comments on commit 7beb011

Please sign in to comment.