cate an array of 5 empty rows DataValueDescriptor[][] row_array = allocate_row_array(5); int row_cnt = 0; scan = openScan(); while ((row_cnt = scan.fetchNextSet(row_array, null) != 0) { // I got "row_cnt" rows from the scan. These rows will be // found in row_array[0] through row_array[row_cnt - 1] }
@return The number of qualifying rows found and copied into the provided array of rows. If 0 then the scan is complete, otherwise the return value will be: 1 <= row_count <= row_array.length
@param row_array The array of rows to copy rows into. row_array[].length must>= 1. The first entry must be non-null destination rows, other entries may be null and will be allocated by access if needed.
@param rowloc_array If non-null, the array of row locations to copy into. If null, no row locations are retrieved.
@exception StandardException Standard exception policy.