public final class IteratorResultIterator extends RecyclableIterator<InternalRow> implements FileRecordIterator<InternalRow>
RecordReader.RecordIterator that returns the elements of an iterator.| Constructor and Description |
|---|
IteratorResultIterator(IteratorWithException<InternalRow,IOException> records,
Runnable recycler,
Path filePath,
long pos) |
| Modifier and Type | Method and Description |
|---|---|
Path |
filePath() |
InternalRow |
next()
Gets the next record from the iterator.
|
long |
returnedPosition()
Get the row position of the row returned by
RecordReader.RecordIterator.next(). |
releaseBatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, transformreleaseBatchpublic IteratorResultIterator(IteratorWithException<InternalRow,IOException> records, @Nullable Runnable recycler, Path filePath, long pos)
@Nullable public InternalRow next() throws IOException
RecordReader.RecordIteratornext in interface RecordReader.RecordIterator<InternalRow>IOExceptionpublic long returnedPosition()
FileRecordIteratorRecordReader.RecordIterator.next().returnedPosition in interface FileRecordIterator<InternalRow>public Path filePath()
filePath in interface FileRecordIterator<InternalRow>Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.