public class ScrollResult extends IndexQueryResult
Modifier and Type | Class and Description |
---|---|
static interface |
ScrollResult.Factory |
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, tookMs
public 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
IOException
public String getQueryHash()
public long totalHits()
public void cancel() throws IOException
IOException
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.