public class QueryFilterAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.String |
match |
protected java.lang.Long |
matchingResults |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryFilterAggregation() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.String |
getMatch()
Gets the match.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
getType
protected java.lang.String match
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryAggregation> aggregations
public java.lang.String getMatch()
The filter written in Discovery Query Language syntax applied to the documents before sub aggregations are run.
public java.lang.Long getMatchingResults()
Number of documents matching the filter.
public java.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.