public class QueryGroupByAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.Long |
estimatedMatchingDocuments |
protected java.lang.String |
key |
protected java.lang.Long |
matchingResults |
protected java.lang.Double |
relevancy |
protected java.lang.Long |
totalMatchingDocuments |
Constructor and Description |
---|
QueryGroupByAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.Long |
getEstimatedMatchingDocuments()
Gets the estimatedMatchingDocuments.
|
java.lang.String |
getKey()
Gets the key.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
java.lang.Double |
getRelevancy()
Gets the relevancy.
|
java.lang.Long |
getTotalMatchingDocuments()
Gets the totalMatchingDocuments.
|
protected java.lang.String key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.lang.Double relevancy
@SerializedName(value="total_matching_documents") protected java.lang.Long totalMatchingDocuments
@SerializedName(value="estimated_matching_documents") protected java.lang.Long estimatedMatchingDocuments
protected java.util.List<QueryAggregation> aggregations
public java.lang.String getKey()
Value of the field with a non-zero frequency in the document set.
public java.lang.Long getMatchingResults()
Number of documents containing the 'key'.
public java.lang.Double getRelevancy()
The relevancy for this group.
public java.lang.Long getTotalMatchingDocuments()
The number of documents which have the group as the value of specified field in the whole set of documents in this collection. Returned only when the `relevancy` parameter is set to `true`.
public java.lang.Long getEstimatedMatchingDocuments()
The estimated number of documents which would match the query and also meet the condition. Returned only when the `relevancy` parameter is set to `true`.
public java.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.