public class ResultSet extends Object implements Iterable<Result>, AutoCloseable
Result
objects.Modifier and Type | Method and Description |
---|---|
List<Result> |
allResults()
Return List of Results.
|
void |
close() |
Iterator<Result> |
iterator()
Return Iterator of Results.
|
Result |
next()
Move the cursor forward one row from its current row position.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@Nullable public Result next()
null
value
if there are no more rows, or ResultSet is freed already.@NonNull public List<Result> allResults()
@NonNull public Iterator<Result> iterator()
public void close()
close
in interface AutoCloseable