public interface FileRecordReader<T> extends RecordReader<T>
RecordReader to support returning FileRecordIterator.RecordReader.RecordIterator<T>| Modifier and Type | Method and Description |
|---|---|
FileRecordIterator<T> |
readBatch()
Reads one batch.
|
close, filter, forEachRemaining, forEachRemainingWithPosition, toCloseableIterator, transform@Nullable FileRecordIterator<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 in interface RecordReader<T>IOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.