Interface QueryHelper.ResultSetHandler<T>

Enclosing interface:
QueryHelper
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 QueryHelper.ResultSetHandler<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Handles the result set returned from a database query.
  • Method Details

    • handle

      T handle(ResultSet rs) throws Exception
      Handles the result set returned from a database query.
      Parameters:
      rs - the result set to handle
      Returns:
      the processed result of type T
      Throws:
      Exception - if an error occurs while handling the result set