Class EsIterableQueryResultImpl

java.lang.Object
org.nuxeo.elasticsearch.api.EsIterableQueryResultImpl
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<Map<String,Serializable>>, Iterator<Map<String,Serializable>>, IterableQueryResult

public class EsIterableQueryResultImpl extends Object implements IterableQueryResult, Iterator<Map<String,Serializable>>
Iterable query result of results of an ElasticSearch scroll query and next ones.

Queries ElasticSearch when there's no more result in current response and there's more in cluster.

For better performance use NxQueryBuilder.onlyElasticsearchResponse() for the first scroll requests.

Since:
8.4