Package org.graylog2.indexer.results
Class ChunkedQueryResult<C,R>
java.lang.Object
org.graylog2.indexer.results.IndexQueryResult
org.graylog2.indexer.results.ChunkedQueryResult<C,R>
- All Implemented Interfaces:
ChunkedResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<ResultMessage>collectMessagesFromResult(R result) protected abstract longcountTotalHits(R response) protected abstract Stringprotected abstract longgetTookMillisFromResponse(R response) protected abstract RlongtookMs()longMethods inherited from class org.graylog2.indexer.results.IndexQueryResult
getBuiltQuery, getOriginalQueryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.indexer.results.ChunkedResult
cancel
-
Field Details
-
client
-
initialResult
-
lastSearchResponse
-
-
Constructor Details
-
ChunkedQueryResult
-
-
Method Details
-
nextChunk
- Specified by:
nextChunkin interfaceChunkedResult- Throws:
IOException
-
collectMessagesFromResult
-
nextSearchResult
- Throws:
IOException
-
getChunkingMethodName
-
countTotalHits
-
getTookMillisFromResponse
-
tookMs
public long tookMs()- Specified by:
tookMsin interfaceChunkedResult- Specified by:
tookMsin classIndexQueryResult
-
getQueryHash
- Specified by:
getQueryHashin interfaceChunkedResult
-
totalHits
public long totalHits()- Specified by:
totalHitsin interfaceChunkedResult
-