public interface SourceResponse extends Response<QueryRequest>
Modifier and Type | Method and Description |
---|---|
long |
getHits()
|
Set<? extends SourceProcessingDetails> |
getProcessingDetails()
Get any specific details about the execution of the
QueryRequest associated with this
SourceResponse . |
List<Result> |
getResults()
Get the
Result s of the associated QueryRequest |
getProcessingErrors, getRequest
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties
long getHits()
Query
for the associated Source
, -1 if unknown. This is typically more than the number of Result
s returned from getResults()
.Query
, -1 if unknown.List<Result> getResults()
Result
s of the associated QueryRequest
Set<? extends SourceProcessingDetails> getProcessingDetails()
QueryRequest
associated with this
SourceResponse
. Must not be null.This work is licensed under a Creative Commons Attribution 4.0 International License.