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 void
close()
int
getRequestCount()
boolean
hasNext()
boolean
isClosed()
org.elasticsearch.search.SearchHit
next()
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getRequestCount
public int getRequestCount()
-
isClosed
public boolean isClosed()
-
-