Modifier and Type | Method | Description |
---|---|---|
long |
count() |
How many items are in this result? This method forces internal buffering of the entire result.
|
List<T> |
fetchAll() |
Create a list of all elements in the result forcing internal buffering.
|
default T |
fetchOne() |
Fetch the next element.
|
default boolean |
hasData() |
Does this result have data? This indicates that the result was produced from a data-returning query.
|
default Iterator<T> |
iterator() |
Create an iterator over all elements of the result.
|
forEachRemaining, hasNext, next, remove
forEach, spliterator
default boolean hasData()
default T fetchOne()
long count()