Interface ISubAggregationAwareAggregation

    • Method Detail

      • addSubAggregation

        ISubAggregationAwareAggregation addSubAggregation​(IAggregation aggregation)
        Adds the given sub-aggregation.
        Parameters:
        aggregation - the sub-aggregations
        Returns:
        this aggregation for chaining.
        Since:
        12.2.0
      • addSubAggregations

        ISubAggregationAwareAggregation addSubAggregations​(IAggregation... aggregations)
        Adds the given sub-aggregations.
        Parameters:
        aggregations - the sub-aggregations.
        Returns:
        this aggregation for chaining.
        Since:
        12.2.0
      • addSubAggregations

        ISubAggregationAwareAggregation addSubAggregations​(java.util.List<IAggregation> aggregations)
        Adds the given sub-aggregations.
        Parameters:
        aggregations - the sub-aggregations.
        Returns:
        this aggregation for chaining.
        Since:
        12.2.0
      • getSubAggregations

        java.util.List<IAggregation> getSubAggregations()
        Returns an unmodifiable list of the sub-aggregations.
        Returns:
        an unmodifiable list of the sub-aggregations.
        Since:
        9.0.0