Examples of MaxRowsDataSet


Examples of org.apache.metamodel.data.MaxRowsDataSet

            } else {
                dataSet = new JdbcDataSet(compiledQuery, lease, resultSet);
            }

            if (postProcessMaxRows) {
                dataSet = new MaxRowsDataSet(dataSet, maxRows);
            }
        } catch (SQLException exception) {
            if (resultSet != null) {
                resultSet.close();
            }
View Full Code Here

Examples of org.apache.metamodel.data.MaxRowsDataSet

        }

        DataSet dataSet = ExcelUtils.getDataSet(wb, sheet, table, _configuration);

        if (maxRows > 0) {
            dataSet = new MaxRowsDataSet(dataSet, maxRows);
        }
        return dataSet;
    }
View Full Code Here

Examples of org.apache.metamodel.data.MaxRowsDataSet

        if (firstRow > 1) {
            dataSet = new FirstRowDataSet(dataSet, firstRow);
        }
        if (maxRows != -1) {
            dataSet = new MaxRowsDataSet(dataSet, maxRows);
        }
        return dataSet;
    }
View Full Code Here

Examples of org.apache.metamodel.data.MaxRowsDataSet

        // Handle column subset
        dataSet = MetaModelHelper.getSelection(selectItems, dataSet);

        // Handle maxRows
        if (maxRows != -1) {
            dataSet = new MaxRowsDataSet(dataSet, maxRows);
        }
        return dataSet;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.