Interface Database.ResultSetReceiver<T>

Type Parameters:
T - Return type of go(...)
Enclosing class:
Database
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 Database.ResultSetReceiver<T>
Used to define lambda expressions that receive a ResultSet for processing. T specifies the type of the return value from processing the ResultSet.
  • Method Summary

    Modifier and Type Method Description
    Response<T> go​(java.sql.ResultSet r)
    Process a ResultSet.
  • Method Details

    • go

      Response<T> go​(java.sql.ResultSet r)
      Process a ResultSet.
      Parameters:
      r - ResultSet to process.
      Returns:
      Specified return type, wrapped in a Response.