EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #319 background imageLoading...
Page #319 background image
getFetchDirection()
Format:
public abstract int getFetchDirection() throws SQLException
Returns the fetch direction of the iterator. Possible values are:
sqlj.runtime.ResultSetIterator.FETCH_FORWARD
Rows are processed in a forward direction, from first to last.
sqlj.runtime.ResultSetIterator.FETCH_REVERSE
Rows are processed in a backward direction, from last to first.
sqlj.runtime.ResultSetIterator.FETCH_UNKNOWN
The order of processing is not known.
isAfterLast()
Format:
public abstract boolean isAfterLast() throws SQLException
Returns true if the iterator is positioned after the last row of the result table.
Otherwise, returns false.
isBeforeFirst()
Format:
public abstract boolean isBeforeFirst() throws SQLException
Returns true if the iterator is positioned before the first row of the result table.
Otherwise, returns false.
isFirst()
Format:
public abstract boolean isFirst() throws SQLException
Returns true if the iterator is positioned on the first row of the result table.
Otherwise, returns false.
isLast()
Format:
public abstract boolean isLast() throws SQLException
Returns true if the iterator is positioned on the last row of the result table.
Otherwise, returns false.
last()
Format:
public abstract boolean last() throws SQLException
Moves the iterator to the last row of the result table.
Returns true if the iterator is on a row. Otherwise, returns false.
previous()
Format:
public abstract boolean previous() throws SQLException
Moves the iterator to the previous row of the result table.
Returns true if the iterator is on a row. Otherwise, returns false.
relative(int)
Format:
Chapter 7. JDBC and SQLJ reference information 303

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability