// we need to scan until we hit the end of the table or until we
// run into a null. Use this template to probe the "next" row so
// that if we need to finish, fetch_row will have the right value.
DataValueDescriptor[] check_row_template = new DataValueDescriptor[1];
check_row_template[0] = fetch_row[0].getClone();
FetchDescriptor check_row_desc = RowUtil.getFetchDescriptorConstant(1);
// reopen the scan for reading from the beginning of the table.
reopenScan(
(DataValueDescriptor[]) null,
ScanController.NA,