Package org.apache.camel.component.es
Class ElasticsearchScrollRequestIterator<TDocument>
java.lang.Object
org.apache.camel.component.es.ElasticsearchScrollRequestIterator<TDocument>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<co.elastic.clients.elasticsearch.core.search.Hit<TDocument>>
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchScrollRequestIterator
(co.elastic.clients.elasticsearch.core.SearchRequest.Builder searchRequestBuilder, co.elastic.clients.elasticsearch.ElasticsearchClient esClient, int scrollKeepAliveMs, org.apache.camel.Exchange exchange, Class<TDocument> documentClass) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ElasticsearchScrollRequestIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getRequestCount
public int getRequestCount() -
isClosed
public boolean isClosed()
-