public class AggregationResult extends GenericModel
Constructor and Description |
---|
AggregationResult() |
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.
|
void |
setAggregations(java.util.List<QueryAggregation> aggregations)
Sets the aggregations.
|
void |
setKey(java.lang.String key)
Sets the key.
|
void |
setMatchingResults(long matchingResults)
Sets the matchingResults.
|
equals, hashCode, toString
public java.lang.String getKey()
public java.lang.Long getMatchingResults()
public java.util.List<QueryAggregation> getAggregations()
public void setKey(java.lang.String key)
key
- the new keypublic void setMatchingResults(long matchingResults)
matchingResults
- the new matchingResultspublic void setAggregations(java.util.List<QueryAggregation> aggregations)
aggregations
- the new aggregations