Class ElasticsearchScrollRequestIterator
- java.lang.Object
-
- org.apache.camel.component.elasticsearch.ElasticsearchScrollRequestIterator
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchScrollRequestIterator(org.elasticsearch.action.search.SearchRequest searchRequest, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, int scrollKeepAliveMs, org.apache.camel.Exchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetRequestCount()booleanhasNext()booleanisClosed()org.elasticsearch.search.SearchHitnext()-
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
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public org.elasticsearch.search.SearchHit next()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getRequestCount
public int getRequestCount()
-
isClosed
public boolean isClosed()
-
-