private long extractCommittedSpHandle ( ExportRow row , long committedSeqNo ) { long ret = 0 ; if ( committedSeqNo == ExportDataSource . NULL_COMMITTED_SEQNO ) { return ret ; } // Get the rows's sequence number (3rd column) long seqNo = ( long ) row . values [ 2 ] ; if ( seqNo != committedSeqNo ) { return ret ; } // Get the row's sp handle (1rst column) ret = ( long ) row . values [ 0 ] ; return ret ; }
If the row is the last committed row return the SpHandle otherwise return 0