Package net.sf.basedb.core.query
Interface ResultList<I>
- All Superinterfaces:
Collection<I>
,Iterable<I>
,List<I>
,QueryResult
- All Known Subinterfaces:
SqlResultList<I>
- All Known Implementing Classes:
AbstractResultList
,ItemResultList
,UnmodifiableResultList
Return the result of a query as a list. A list has the drawback of loading
the entire dataset into memory before it is returned to the client
applications. This interface is therfore most useful for queries that are
expected to return a small number of items.
Implementors should not allow modifications to the list.
- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
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
Methods inherited from interface net.sf.basedb.core.query.QueryResult
getTotalCount