public class ScrollResult extends IndexQueryResult
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScrollResult.Factory |
static class |
ScrollResult.ScrollChunk |
| Constructor and Description |
|---|
ScrollResult(io.searchbox.client.JestClient jestClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
io.searchbox.core.SearchResult initialResult,
String query,
List<String> fields) |
ScrollResult(io.searchbox.client.JestClient jestClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
io.searchbox.core.SearchResult initialResult,
String query,
String scroll,
List<String> fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
String |
getQueryHash() |
ScrollResult.ScrollChunk |
nextChunk() |
long |
totalHits() |
getBuiltQuery, getOriginalQuery, tookMspublic ScrollResult(io.searchbox.client.JestClient jestClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
io.searchbox.core.SearchResult initialResult,
String query,
List<String> fields)
public ScrollResult.ScrollChunk nextChunk() throws IOException
IOExceptionpublic String getQueryHash()
public long totalHits()
public void cancel()
throws IOException
IOExceptionCopyright © 2012–2020 Graylog, Inc.. All rights reserved.