public int getRow() throws SQLException {
      // are we on a valid row? Valid rows are between first and last
      if (numRows > 0 &&
          cursorPos > 0 &&
          cursorPos < (numRows + 1) &&
          (getShowDeleted() == false && rowDeleted() == false)) {
         return absolutePos;
      } else if (getShowDeleted() == true) {
         return cursorPos;
      } else {
         return 0;
      }
   }
Returns the number of the current row in this <code>StreamingRowSetImpl</code>
object. The first row is number 1, the second number 2, and so on.

@return the number of the current row;  <code>0</code> if there is no
        current row
@throws SQLException if an error occurs; or if the <code>CacheRowSetImpl</code>
        is empty
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java