public interface Results extends List<Result<Record>>, Attachable
Resultand update counts that can be returned by
ResultQuery.fetchMany()calls and other calls that produce multiple cursors and update counts.
For backwards-compatibility (e.g. with
List containing only the
Result, not the rows /
update counts of interleaved updates. In order to get both, call
|Modifier and Type||Method and Description|
Attach all results and all of their contained records to a new
Detach all results and all of their contained records from their current
All the results or update counts in their order as fetched via JDBC.
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
List.iterator() and all the other methods inherited from the
List API return the
Result objects only, this method also
includes update counts that may have occurred between two results.
It can be safely assumed that:
.filter(r -> r.result() != null)
.map(r -> r.result())
void attach(Configuration configuration)
configuration- A configuration or
null, if you wish to detach this
Attachablefrom its previous configuration.
This is the same as calling
Copyright © 2016. All Rights Reserved.