Package org.apache.nifi.sql
Interface RowStream
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
IterableRowStream
An interface that is responsible for returning rows of data
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
nextRow
Returns the next row of data as an object array, ornullif the stream is out of data. Note that the objects returned MUST adhere to the schema of theResettableDataSourcethat created this RowStream.- Returns:
- the next row of data, or
nullif there is no more data - Throws:
IOException- if unable to obtain the next row of data due to I/O failure
-