Package com.enonic.xp.aggregation

## Class StatsAggregation.Builder

- java.lang.Object
- - com.enonic.xp.aggregation.Aggregation.Builder<StatsAggregation.Builder>
  - - com.enonic.xp.aggregation.StatsAggregation.Builder

- Enclosing class:
    StatsAggregation

      public static final class StatsAggregation.Builder
      extends Aggregation.Builder<StatsAggregation.Builder>

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `StatsAggregation.Builder` | `avg​(double avg)` |
    `StatsAggregation` | `build()` |
    `StatsAggregation.Builder` | `count​(double count)` |
    `StatsAggregation.Builder` | `max​(double max)` |
    `StatsAggregation.Builder` | `min​(double min)` |
    `StatsAggregation.Builder` | `sum​(double sum)` |

    - ### Methods inherited from class com.enonic.xp.aggregation.Aggregation.Builder

      `addAggregations, addSubAggregation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### avg

          public StatsAggregation.Builder avg​(double avg)

    - #### count

          public StatsAggregation.Builder count​(double count)

    - #### max

          public StatsAggregation.Builder max​(double max)

    - #### min

          public StatsAggregation.Builder min​(double min)

    - #### sum

          public StatsAggregation.Builder sum​(double sum)

    - #### build

          public StatsAggregation build()