public class QueryResponse extends GenericModel
Constructor and Description |
---|
QueryResponse() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.Long |
getDuplicatesRemoved()
Gets the duplicatesRemoved.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
java.util.List<QueryPassages> |
getPassages()
Gets the passages.
|
java.util.List<QueryResult> |
getResults()
Gets the results.
|
void |
setAggregations(java.util.List<QueryAggregation> aggregations)
Sets the aggregations.
|
void |
setDuplicatesRemoved(long duplicatesRemoved)
Sets the duplicatesRemoved.
|
void |
setMatchingResults(long matchingResults)
Sets the matchingResults.
|
void |
setPassages(java.util.List<QueryPassages> passages)
Sets the passages.
|
void |
setResults(java.util.List<QueryResult> results)
Sets the results.
|
equals, hashCode, toString
public java.lang.Long getMatchingResults()
public java.util.List<QueryResult> getResults()
public java.util.List<QueryAggregation> getAggregations()
public java.util.List<QueryPassages> getPassages()
public java.lang.Long getDuplicatesRemoved()
public void setMatchingResults(long matchingResults)
matchingResults
- the new matchingResultspublic void setResults(java.util.List<QueryResult> results)
results
- the new resultspublic void setAggregations(java.util.List<QueryAggregation> aggregations)
aggregations
- the new aggregationspublic void setPassages(java.util.List<QueryPassages> passages)
passages
- the new passagespublic void setDuplicatesRemoved(long duplicatesRemoved)
duplicatesRemoved
- the new duplicatesRemoved