public void beforeFirst() throws SQLException {
      if (getType() == ResultSet.TYPE_FORWARD_ONLY) {
         throw new SQLException(resBundle.handleGetObject("cachedrowsetimpl.beforefirst").toString());
      }
      cursorPos = 0;
      absolutePos = 0;
      notifyCursorMoved();
   }
Moves this <code>StreamingRowSetImpl</code> object's cursor to the front of
the rowset, just before the first row. This method has no effect if
this rowset contains no rows.

@throws SQLException if an error occurs or the type of this rowset
           is <code>ResultSet.TYPE_FORWARD_ONLY</code>
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java