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 Detail

      • stream

        Stream<V> stream()
        Returns:
        stream over all objects
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.