Class ConnectorServiceV1.ResultFutureIterator<T>

java.lang.Object
com.cognite.client.servicesV1.ConnectorServiceV1.ConnectorBase
com.cognite.client.servicesV1.ConnectorServiceV1.ResultFutureIterator<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, Iterator<CompletableFuture<ResponseItems<T>>>
Enclosing class:
ConnectorServiceV1

public abstract static class ConnectorServiceV1.ResultFutureIterator<T> extends ConnectorServiceV1.ConnectorBase implements Iterator<CompletableFuture<ResponseItems<T>>>
Iterator for paging through requests based on response cursors. This iterator is based on async request, and will return a CompletableFuture on each next() call. However, hasNext() needs to wait for the current request to complete before being able to evaluate if it carries a cursor to the next page.
See Also: