409410411412413414415416417418419
} else { dataSet = new JdbcDataSet(compiledQuery, lease, resultSet); } if (postProcessMaxRows) { dataSet = new MaxRowsDataSet(dataSet, maxRows); } } catch (SQLException exception) { if (resultSet != null) { resultSet.close(); }
818283848586878889
} DataSet dataSet = ExcelUtils.getDataSet(wb, sheet, table, _configuration); if (maxRows > 0) { dataSet = new MaxRowsDataSet(dataSet, maxRows); } return dataSet; }
181182183184185186187188189
if (firstRow > 1) { dataSet = new FirstRowDataSet(dataSet, firstRow); } if (maxRows != -1) { dataSet = new MaxRowsDataSet(dataSet, maxRows); } return dataSet; }
485486487488489490491492493
// Handle column subset dataSet = MetaModelHelper.getSelection(selectItems, dataSet); // Handle maxRows if (maxRows != -1) { dataSet = new MaxRowsDataSet(dataSet, maxRows); } return dataSet; }