public class EmptyRecordReader<T> extends Object implements RecordReader<T>
RecordReader.RecordReader.RecordIterator<T>| 构造器和说明 |
|---|
EmptyRecordReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the reader and should release all resources.
|
RecordReader.RecordIterator<T> |
readBatch()
Reads one batch.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, forEachRemaining, forEachRemainingWithPosition, toCloseableIterator, transform@Nullable public RecordReader.RecordIterator<T> readBatch() throws IOException
RecordReaderThe returned iterator object and any contained objects may be held onto by the source for some time, so it should not be immediately reused by the reader.
readBatch 在接口中 RecordReader<T>IOExceptionpublic void close()
throws IOException
RecordReaderclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 RecordReader<T>IOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.