public abstract static class DbTransaction.DbQueryResultSet extends Object implements Iterable<DbTransaction.DbQueryResultRow>
| Constructor and Description |
|---|
DbQueryResultSet() |
| Modifier and Type | Method and Description |
|---|---|
Set<Integer> |
toIntegerSet(String columnName) |
Set<Long> |
toLongSet(String columnName) |
<T> List<T> |
toObjectList(Class<T> cl,
String stringColumnName)
Reads all rows in the result set, finds the string column "stringColumnName" and creates objects of type "cl" by
calling its constructor taking a single string argument.
|
<T> Set<T> |
toObjectSet(Class<T> cl,
String stringColumnName)
Reads all rows in the result set, finds the string column "stringColumnName" and creates objects of type "cl" by
calling its constructor taking a single string argument.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorpublic <T> List<T> toObjectList(Class<T> cl, String stringColumnName)
public <T> Set<T> toObjectSet(Class<T> cl, String stringColumnName)