- All Superinterfaces:
Iterable<DbResultValue<?>>
A
DbResult represents a single result (row) from a database (typically of a
SelectStatement). It is an abstraction of a JDBC
ResultSet.- Since:
- 1.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetDeclaration(int i) getName(int i) intgetSize()<V> VgetValue(int i) default Iterator<DbResultValue<?>> iterator()Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getValue
<V> V getValue(int i) - Type Parameters:
V- type of the value.- Parameters:
i- the index of the requested value. Has to be in the range from0tosize-1.- Returns:
- the requested result value.
-
getName
- Parameters:
i- the index of the requested name. Has to be in the range from0tosize-1.- Returns:
- the requested database name (e.g. column name, alias, selection).
-
getDeclaration
-
getSize
int getSize()- Returns:
- the number of
values.
-
iterator
- Specified by:
iteratorin interfaceIterable<DbResultValue<?>>
-