Class ResultSetAsValue<T>

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

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

    • ResultSetAsValue

      public ResultSetAsValue(Statement<ResultSet> stmt)
      Ctor.
      Parameters:
      stmt - A statement
  • Method Details

    • value

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