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.String |
getField()
Gets the field.
|
java.lang.String |
getMatch()
Gets the match.
|
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 |
setField(java.lang.String field)
Sets the field.
|
void |
setMatch(java.lang.String match)
Sets the match.
|
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.lang.String getField()
public java.util.List<AggregationResult> getResults()
public java.lang.String getMatch()
public java.lang.Long getMatchingResults()
public java.util.List<QueryAggregation> getAggregations()
public void setType(java.lang.String type)
type - the new typepublic void setField(java.lang.String field)
field - the new fieldpublic void setResults(java.util.List<AggregationResult> results)
results - the new resultspublic void setMatch(java.lang.String match)
match - the new matchpublic void setMatchingResults(long matchingResults)
matchingResults - the new matchingResultspublic void setAggregations(java.util.List<QueryAggregation> aggregations)
aggregations - the new aggregations