public class QueryTermAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.String |
key |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
QueryTermAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.String |
getKey()
Gets the key.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
protected java.lang.String key
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
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.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.