SQL/MX Programming Manual for Java

SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java523726-003
B-9
ResultSetIterator Method Details
isClosed()
Determines if the iterator has been closed.
Returns
Returns true if the iterator has been closed; otherwise, false
Throws
SQLException (if an error occurs while determining the status of the iterator)
See Also
close() on page B-7
next()
Advances the specified iterator to the next row. To start, the iterator is positioned
before the first row. A FETCH statement implicitly invokes the next() method on the
iterator passed to it.
Returns
True if the next row in the iterator exists; otherwise, false
Throws
SQLException (if an error occurs while changing the position of the iterator)
public abstract boolean isClosed()
throws SQLException
public abstract boolean next()
throws SQLException