public class QueryNestedAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.Long |
matchingResults |
protected java.lang.String |
path |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryNestedAggregation() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
java.lang.String |
getPath()
Gets the path.
|
getType
protected java.lang.String path
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryAggregation> aggregations
public java.lang.String getPath()
The path to the document field to scope sub aggregations to.
public java.lang.Long getMatchingResults()
Number of nested documents found in the specified field.
public java.util.List<QueryAggregation> getAggregations()
An array of sub aggregations.