Interface ResultSetOutput

  • All Superinterfaces:
    Output

    public interface ResultSetOutput
    extends Output
    Models a return that is a result set.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List getResultList()
      Consume the underlying ResultSet and return the resulting List.
      java.lang.Object getSingleResult()
      Consume the underlying ResultSet with the expectation that there is just a single level of root returns.
    • Method Detail

      • getResultList

        java.util.List getResultList()
        Consume the underlying ResultSet and return the resulting List.
        Returns:
        The consumed ResultSet values.
      • getSingleResult

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