Package ch.ivyteam.ivy.persistence.query
Interface IPagedIterable<V>
-
- Type Parameters:
V
-
- All Superinterfaces:
Iterable<V>
- All Known Subinterfaces:
IPagedResult<V>
public interface IPagedIterable<V> extends Iterable<V>
Iterate or stream over results that are read page wise from the system database. Only the results in one page are loaded to the memory at once so that large data sets can be handled.
You can use it in for each loops:
for (V data : query.executor().resultsPaged()) { System.out.println(data); }
- Since:
- 8.0.3
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<V>
stream()
-