R - the formal type of the result set. For instance, a SQL schema table type such as Customer, or a
Row of a SQL query type derived from .sql resource file or embedded .sql resource.public class Result<R extends manifold.ext.rt.api.IBindingsBacked>
extends java.lang.Object
implements java.lang.Iterable<R>
ResultSet into a List. The list is indirectly accessible this
class' Iterable implementation. It is also directly accessible via the toList() method.| Constructor and Description |
|---|
Result(java.util.Map<java.lang.String,java.lang.Integer> allColsWithJdbcType,
java.sql.ResultSet resultSet,
java.util.function.Function<manifold.rt.api.Bindings,R> makeRow) |
Result(java.sql.ResultSet resultSet,
java.util.function.Function<manifold.rt.api.Bindings,R> makeRow) |
Result(TxScope txScope,
java.sql.ResultSet resultSet,
java.util.function.Function<TxBindings,R> makeRow) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.Iterator<R> |
iterator() |
java.util.List<R> |
toList() |
java.lang.String |
toString() |
public Result(TxScope txScope, java.sql.ResultSet resultSet, java.util.function.Function<TxBindings,R> makeRow)
public Result(java.sql.ResultSet resultSet,
java.util.function.Function<manifold.rt.api.Bindings,R> makeRow)
public Result(java.util.Map<java.lang.String,java.lang.Integer> allColsWithJdbcType,
java.sql.ResultSet resultSet,
java.util.function.Function<manifold.rt.api.Bindings,R> makeRow)
public java.util.Iterator<R> iterator()
iterator in interface java.lang.Iterable<R extends manifold.ext.rt.api.IBindingsBacked>public java.util.List<R> toList()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2023. All rights reserved.