Package com.enonic.xp.aggregation

## Class MetricAggregation

- java.lang.Object
- - com.enonic.xp.aggregation.Aggregation
  - - com.enonic.xp.aggregation.MetricAggregation

- Direct Known Subclasses:
    `SingleValueMetricAggregation`, `StatsAggregation`

      @PublicApi
      public abstract class MetricAggregation
      extends Aggregation

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.enonic.xp.aggregation.Aggregation

      `Aggregation.Builder<T extends Aggregation.Builder>`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MetricAggregation​(Aggregation.Builder builder)` |

  - ### Method Summary

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

      `bucketAggregation, getName, getSubAggregations`

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

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

- - ### Constructor Detail

    - #### MetricAggregation

          public MetricAggregation​(Aggregation.Builder builder)