setFetchDirection(int direction)
Syntax:
void setFetchDirection(int direction)
                       throws SQLException
                                        Description:
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. The initial value is determined by the Statement object that produced this ResultSet object. The fetch direction may be changed at any time.
Parameters:
direction
an int specifying the suggested fetch direction; only supports ResultSet.FETCH_FORWARD
Throws:
SQLException - if a database access error occurs or this method is called on a closed result set
Reference:
For more information, reference JDBC documentation for: ResultSet.setFetchDirection(int)