Class DynamicResultIterator

    • Field Detail

      • log

        private static final org.slf4j.Logger log
        Logger.
      • results

        private final ResultSet results
        The results of the query.
      • totalCount

        private final long totalCount
        The total number of items.
      • limit

        private final int limit
      • returnedRows

        private int returnedRows
      • sqlResult

        private final SqlResult sqlResult
      • hasNext

        private boolean hasNext
      • checkNext

        private boolean checkNext
      • isClosed

        private boolean isClosed
    • Constructor Detail

      • DynamicResultIterator

        DynamicResultIterator​(ResultSet results,
                              long totalCount,
                              int limit)
        Create a new result iterator.
        Parameters:
        results - The ResultSet object containing the results
        totalCount - The total number of rows
        limit - The maximum numbre of rows that was specified for the query