public final class IteratorResultIterator extends RecyclableIterator<InternalRow> implements FileRecordIterator<InternalRow>
RecordReader.RecordIterator that returns the elements of an iterator.| 构造器和说明 |
|---|
IteratorResultIterator(Iterator<InternalRow> records,
Runnable recycler,
Path filePath,
long pos) |
| 限定符和类型 | 方法和说明 |
|---|---|
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(Iterator<InternalRow> records, @Nullable Runnable recycler, Path filePath, long pos)
@Nullable public InternalRow next()
RecordReader.RecordIteratornext 在接口中 RecordReader.RecordIterator<InternalRow>public long returnedPosition()
FileRecordIteratorRecordReader.RecordIterator.next().returnedPosition 在接口中 FileRecordIterator<InternalRow>public Path filePath()
filePath 在接口中 FileRecordIterator<InternalRow>Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.