Advance this iterator by a single row.
Advance this iterator by a single row. Returns false
if this iterator has no more rows
and true
otherwise. If this returns true
, then the new row can be retrieved by calling
getRow.
Retrieve the row from this iterator.
Retrieve the row from this iterator. This method is idempotent. It is illegal to call this
method after advanceNext() has returned false
.
Convert this RowIterator into a scala.collection.Iterator.
An internal iterator interface which presents a more restrictive API than scala.collection.Iterator.
One major departure from the Scala iterator API is the fusing of the
hasNext()
andnext()
calls: Scala's iterator allows users to callhasNext()
without immediately advancing the iterator to consume the next row, whereas RowIterator combines these calls into a single advanceNext() method.