Constructor and Description |
---|
ElasticsearchScrollRequestIterator(org.elasticsearch.action.search.SearchRequest searchRequest,
org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
int scrollKeepAliveMs,
org.apache.camel.Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getRequestCount() |
boolean |
hasNext() |
boolean |
isClosed() |
org.elasticsearch.search.SearchHit |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public ElasticsearchScrollRequestIterator(org.elasticsearch.action.search.SearchRequest searchRequest, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, int scrollKeepAliveMs, org.apache.camel.Exchange exchange)
public boolean hasNext()
public org.elasticsearch.search.SearchHit next()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public int getRequestCount()
public boolean isClosed()
Apache Camel