List<Record> out = new ArrayList<Record>(count);
SWIGTYPE_p_p_ZOOM_record_p recs = yaz4jlib.new_zoomRecordArray(count);
yaz4jlib.ZOOM_resultset_records(resultSet, recs, start, count);
+ ZoomException err = this.conn.getZoomException();
+ if (err != null) {
+ throw err;
+ }
for (int i = 0; i < count; i++) {
SWIGTYPE_p_ZOOM_record_p record =
yaz4jlib.zoomRecordArray_getitem(recs, i);
};
}
+ /**
+ *
+ * @param type
+ * @param spec
+ * @return
+ * @throws ZoomException
+ */
public ResultSet sort(String type, String spec) throws ZoomException {
int ret = yaz4jlib.ZOOM_resultset_sort1(resultSet, type, spec);
if (ret != 0) throw new ZoomException("Sorting resultset failed");