SQL/MX Programming Manual for Java
SQLJ Runtime Package
HP NonStop SQL/MX Programming Manual for Java—523726-003
B-6
sqlj.runtime.PositionedIterator Interface
sqlj.runtime.PositionedIterator Interface
Because the sqlj.runtime.PositionedIterator interface extends the
sqlj.runtime.ResultSetIterator interface, it inherits all the methods in the
ResultSetIterator interface. See sqlj.runtime.ResultSetIterator Interface on
page B-7.
PositionedIterator Method Details
endFetch()
Determines the success of a FETCH statement by returning true if the last attempt to
fetch a row failed and by returning false if the last attempt was successful. An iterator
attempts to fetch a row when the next() method is called explicitly or implicitly during
the execution of a FETCH statement. If next() has not yet been called, endFetch()
returns true.
Returns
•
True if the iterator is not positioned on a row; otherwise, false
Throws
•
SQLException (if an error occurs while trying to access the database)
See Also
•
next() on page B-9
public interface PositionedIterator
extends ResultSetIterator
Table B-3. PositionedIterator Method Summary
Method Description
endFetch()
Determines the success of a FETCH statement.
public abstract boolean endFetch()
throws SQLException