Interface RowListener

All Known Implementing Classes:
RowListenerAdapter

public interface RowListener
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    next​(Map<String,​Object> row)
    Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB.
  • Method Details

    • next

      boolean next(Map<String,​Object> row)
      Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB. Immediately after returning "false", ActiveJDBC will close JDBC resources associated with this request: Statement and ResultSet.
      Parameters:
      row - Map instance containing values for a row. Keys are names of columns and values are .. values.
      Returns:
      false if this listener needs to stop processing (no more calls to this method)