Package org.apache.iotdb.udf.api.access
Interface RowIterator
-
public interface RowIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNextRow()Returnstrueif the iteration has more rows.Rownext()Returns the next row in the iteration.voidreset()Resets the iteration.
-
-
-
Method Detail
-
hasNextRow
boolean hasNextRow()
Returnstrueif the iteration has more rows.- Returns:
trueif the iteration has more rows
-
next
Row next() throws java.io.IOException
Returns the next row in the iteration.Note that the Row instance returned by this method each time is the same instance. In other words, calling
next()will only change the member variables inside the Row instance, but will not generate a new Row instance.- Returns:
- the next element in the iteration
- Throws:
java.io.IOException- if any I/O errors occur
-
reset
void reset()
Resets the iteration.
-
-