Class TextLineInputFormat.Reader
java.lang.Object
org.apache.flink.connector.file.src.reader.TextLineInputFormat.Reader
- All Implemented Interfaces:
Closeable,AutoCloseable,StreamFormat.Reader<String>
- Enclosing class:
- TextLineInputFormat
@PublicEvolving
public static final class TextLineInputFormat.Reader
extends Object
implements StreamFormat.Reader<String>
The actual reader for the
TextLineInputFormat.-
Method Details
-
read
Description copied from interface:StreamFormat.ReaderReads the next record. Returnsnullwhen the input has reached its end.- Specified by:
readin interfaceStreamFormat.Reader<String>- Throws:
IOException
-
close
Description copied from interface:StreamFormat.ReaderCloses the reader to release all resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceStreamFormat.Reader<String>- Throws:
IOException
-