Interface DatabaseAPI.RowMapper<T>

Type Parameters:
T - The type of object returned
Enclosing interface:
DatabaseAPI
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface DatabaseAPI.RowMapper<T>
Maps database Row to an object.
  • Method Summary

    Modifier and Type Method Description
    T mapRow​(Row row)
    Map a row to an object.
  • Method Details

    • mapRow

      T mapRow​(Row row)
      Map a row to an object.
      Parameters:
      row - The row to map.
      Returns:
      The object created from the row.