@Override
    public TRow queryForIdRow(long id) {
        TRow row = null;
        TResult readCursor = queryForId(id);
        if (readCursor.moveToNext()) {
            row = readCursor.getRow();
            if (!row.isValid() && readCursor.moveToNext()) {
                row = readCursor.getRow();
            }
        }
        readCursor.close();
        return row;
    }
@Override
    public TRow queryForIdRow(long id) {
        TRow row = null;
        TResult readCursor = queryForId(id);
        if (readCursor.moveToNext()) {
            row = readCursor.getRow();
            if (!row.isValid() && readCursor.moveToNext()) {
                row = readCursor.getRow();
            }
        }
        readCursor.close();
        return row;
    }
@ Override public TRow queryForIdRow ( long id ) { TRow row = null ; TResult readCursor = queryForId ( id ) ; if ( readCursor . moveToNext ( ) ) { row = readCursor . getRow ( ) ; if ( ! row . isValid ( ) && readCursor . moveToNext ( ) ) { row = readCursor . getRow ( ) ; } } readCursor . close ( ) ; return row ; }
{@inheritDoc}
Handles requery of invalid id row
{