public class QueryNestedAggregation extends QueryAggregation
| Constructor and Description | 
|---|
| QueryNestedAggregation() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<QueryAggregation> | getAggregations()Gets the aggregations. | 
| Long | getMatchingResults()Gets the matchingResults. | 
| String | getPath()Gets the path. | 
getTypepublic String getPath()
The path to the document field to scope sub-aggregations to.
public Long getMatchingResults()
Number of nested documents found in the specified field.
public List<QueryAggregation> getAggregations()
An array of sub-aggregations.
Copyright © 2022 IBM Cloud. All rights reserved.