Class QueryNestedAggregation

All Implemented Interfaces:

public class QueryNestedAggregation
extends QueryAggregation
A restriction that alter the document set used for sub aggregations it precedes to nested documents found in the field specified.
  • Constructor Details

    • QueryNestedAggregation

      public QueryNestedAggregation()
  • Method Details

    • getPath

      public String getPath()
      Gets the path.

      The path to the document field to scope sub aggregations to.

      the path
    • getMatchingResults

      public Long getMatchingResults()
      Gets the matchingResults.

      Number of nested documents found in the specified field.

      the matchingResults
    • getAggregations

      public List<QueryAggregation> getAggregations()
      Gets the aggregations.

      An array of sub aggregations.

      the aggregations