code: public boolean first() throws SQLException {
          if (queryResult.getResultSetType() == ResultSetType.SELECT && queryResult.getRows() > 0) {
              ((SelectQueryResult) queryResult).moveRowPointerTo(0);
              return true;
          }
          return false;
      }
docs: Moves the cursor to the first row in this <code>ResultSet</code> object.
  
  @return <code>true</code> if the cursor is on a valid row; <code>false</code> if there are no rows in the result
  set
  @throws java.sql.SQLException if a database access error occurs; this method is called on a closed result set or
  the result set type is <code>TYPE_FORWARD_ONLY</code>
  @throws java.sql.SQLFeatureNotSupportedException
  if the JDBC driver does not support this method
  @since 1.2