public class EsScrollResult extends EsResult
ElasticSearchService.scroll(NxQueryBuilder, long)
,
ElasticSearchService.scroll(EsScrollResult)
Modifier and Type | Field and Description |
---|---|
protected long |
keepAlive
Timeout for keeping the search context alive.
|
protected NxQueryBuilder |
queryBuilder
NxQueryBuilder used for the initial search request. |
protected String |
scrollId
Scroll id returned by the search request.
|
Constructor and Description |
---|
EsScrollResult(DocumentModelList documents,
org.elasticsearch.action.search.SearchResponse response,
NxQueryBuilder queryBuilder,
String scrollId,
long keepAlive) |
EsScrollResult(IterableQueryResult rows,
org.elasticsearch.action.search.SearchResponse response,
NxQueryBuilder queryBuilder,
String scrollId,
long keepAlive) |
EsScrollResult(NxQueryBuilder queryBuilder,
String scrollId,
long keepAlive) |
EsScrollResult(org.elasticsearch.action.search.SearchResponse response,
NxQueryBuilder queryBuilder,
String scrollId,
long keepAlive) |
Modifier and Type | Method and Description |
---|---|
long |
getKeepAlive() |
NxQueryBuilder |
getQueryBuilder() |
String |
getScrollId() |
getAggregates, getDocuments, getElasticsearchResponse, getRows
protected final NxQueryBuilder queryBuilder
NxQueryBuilder
used for the initial search request.protected final long keepAlive
public EsScrollResult(DocumentModelList documents, org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
public EsScrollResult(IterableQueryResult rows, org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
public EsScrollResult(org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
public EsScrollResult(NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
public NxQueryBuilder getQueryBuilder()
public String getScrollId()
public long getKeepAlive()
Copyright © 2018 Nuxeo. All rights reserved.