Class ResultSetAsValues<T>

java.lang.Object
com.github.fabriciofx.cactoos.jdbc.result.ResultSetAsValues<T>
Type Parameters:
T - Type of the result
All Implemented Interfaces:
org.cactoos.Scalar<List<T>>

public final class ResultSetAsValues<T> extends Object implements org.cactoos.Scalar<List<T>>
Result as values.
Since:
0.1
  • Constructor Details

    • ResultSetAsValues

      public ResultSetAsValues(Statement<ResultSet> stmt)
      Ctor.
      Parameters:
      stmt - A statement that returns a Rows
  • Method Details

    • value

      public List<T> value() throws Exception
      Specified by:
      value in interface org.cactoos.Scalar<T>
      Throws:
      Exception