public interface RowIterator<T extends RowData>
Iterator
.
One major departure from the Java iterator API is the fusing of the `hasNext()` and `next()`
calls: Java's iterator allows users to call `hasNext()` without immediately advancing the
iterator to consume the next row, whereas RowIterator
combines these calls into a single
advanceNext()
method.
Modifier and Type | Method and Description |
---|---|
boolean |
advanceNext()
Advance this iterator by a single row.
|
T |
getRow()
Retrieve the row from this iterator.
|
boolean advanceNext()
getRow()
.T getRow()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.