Interface ResultSetOutput<T>

All Superinterfaces:
Output

public interface ResultSetOutput<T> extends Output
Models a return that is a result set.
  • Method Details

    • getResultList

      List<T> getResultList()
      Consume the underlying ResultSet and return the resulting List.
      Returns:
      The consumed ResultSet values.
    • getSingleResult

      Object getSingleResult()
      Consume the underlying ResultSet with the expectation that there is just a single level of root returns.
      Returns:
      The single result.