Row[] rowArray = new Row[rows.size()];
compareRows (rows.toArray(rowArray), cursor);
}
private RowCursor cycleRows(RowType rowType) throws IOException {
KeyReadCursor keyCursor = getKeyCursor(rowType , bindRows);
startKey = keyCursor.readNext();
while (startKey != null) {
writer.writeEntry(startKey);
startKey = keyCursor.readNext();
}
is = new ByteArrayInputStream (os.toByteArray());
return new KeyFinalCursor(new StreamIterator(is), rowType, API.SortOption.PRESERVE_DUPLICATES, null);