Package com.enonic.xp.query.aggregation

## Class MetricAggregationQuery

- java.lang.Object
- - com.enonic.xp.query.aggregation.AggregationQuery
  - - com.enonic.xp.query.aggregation.MetricAggregationQuery

- Direct Known Subclasses:
    `MaxAggregationQuery`, `MinAggregationQuery`, `StatsAggregationQuery`, `ValueCountAggregationQuery`

      @PublicApi
      public abstract class MetricAggregationQuery
      extends AggregationQuery

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `MetricAggregationQuery.Builder<T extends MetricAggregationQuery.Builder>` |

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getFieldName()` |

    - ### Methods inherited from class com.enonic.xp.query.aggregation.AggregationQuery

      `getName`

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

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

- - ### Constructor Detail

    - #### MetricAggregationQuery

          public MetricAggregationQuery​(MetricAggregationQuery.Builder builder)

  - ### Method Detail

    - #### getFieldName

          public String getFieldName()