public static final class TextLineFormat.Reader extends Object implements StreamFormat.Reader<String>
TextLineFormat
.Modifier and Type | Method and Description |
---|---|
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, wait
getCheckpointedPosition
@Nullable public String read() throws IOException
StreamFormat.Reader
null
when the input has reached its end.read
in interface StreamFormat.Reader<String>
IOException
public void close() throws IOException
StreamFormat.Reader
close
in interface Closeable
close
in interface AutoCloseable
close
in interface StreamFormat.Reader<String>
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.