public class ClientScrollableHitSource extends ScrollableHitSource
ScrollableHitSource.BasicHit, ScrollableHitSource.Hit, ScrollableHitSource.Response, ScrollableHitSource.SearchFailurebackoffPolicy, countSearchRetry, fail, logger, threadPool| Constructor and Description |
|---|
ClientScrollableHitSource(org.apache.logging.log4j.Logger logger,
org.elasticsearch.action.bulk.BackoffPolicy backoffPolicy,
org.elasticsearch.threadpool.ThreadPool threadPool,
java.lang.Runnable countSearchRetry,
java.util.function.Consumer<java.lang.Exception> fail,
org.elasticsearch.client.ParentTaskAssigningClient client,
org.elasticsearch.action.search.SearchRequest firstSearchRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearScroll(java.lang.String scrollId) |
void |
doStart(java.util.function.Consumer<? super ScrollableHitSource.Response> onResponse) |
protected void |
doStartNextScroll(java.lang.String scrollId,
org.elasticsearch.common.unit.TimeValue extraKeepAlive,
java.util.function.Consumer<? super ScrollableHitSource.Response> onResponse) |
close, start, startNextScrollpublic ClientScrollableHitSource(org.apache.logging.log4j.Logger logger,
org.elasticsearch.action.bulk.BackoffPolicy backoffPolicy,
org.elasticsearch.threadpool.ThreadPool threadPool,
java.lang.Runnable countSearchRetry,
java.util.function.Consumer<java.lang.Exception> fail,
org.elasticsearch.client.ParentTaskAssigningClient client,
org.elasticsearch.action.search.SearchRequest firstSearchRequest)
public void doStart(java.util.function.Consumer<? super ScrollableHitSource.Response> onResponse)
doStart in class ScrollableHitSourceprotected void doStartNextScroll(java.lang.String scrollId,
org.elasticsearch.common.unit.TimeValue extraKeepAlive,
java.util.function.Consumer<? super ScrollableHitSource.Response> onResponse)
doStartNextScroll in class ScrollableHitSourcepublic void clearScroll(java.lang.String scrollId)
clearScroll in class ScrollableHitSource