@PublicEvolving public static final class TextLineInputFormat.Reader extends Object implements StreamFormat.Reader<String>
TextLineInputFormat.| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the reader to release all resources.
|
String |
read()
Reads the next record.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCheckpointedPosition@Nullable public String read() throws IOException
StreamFormat.Readernull when the input has reached its end.read 在接口中 StreamFormat.Reader<String>IOExceptionpublic void close()
throws IOException
StreamFormat.Readerclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 StreamFormat.Reader<String>IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.