public class QueryAggregation extends GenericModel
| Constructor and Description | 
|---|
| QueryAggregation() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<QueryAggregation> | getAggregations()Gets the aggregations. | 
| java.lang.Long | getMatchingResults()Gets the matchingResults. | 
| java.util.List<AggregationResult> | getResults()Gets the results. | 
| java.lang.String | getType()Gets the type. | 
| void | setAggregations(java.util.List<QueryAggregation> aggregations)Sets the aggregations. | 
| void | setMatchingResults(long matchingResults)Sets the matchingResults. | 
| void | setResults(java.util.List<AggregationResult> results)Sets the results. | 
| void | setType(java.lang.String type)Sets the type. | 
equals, hashCode, toStringpublic java.lang.String getType()
public java.util.List<AggregationResult> getResults()
public java.lang.Long getMatchingResults()
public java.util.List<QueryAggregation> getAggregations()
public void setType(java.lang.String type)
type - the new typepublic void setResults(java.util.List<AggregationResult> results)
results - the new resultspublic void setMatchingResults(long matchingResults)
matchingResults - the new matchingResultspublic void setAggregations(java.util.List<QueryAggregation> aggregations)
aggregations - the new aggregations