Package com.enonic.xp.query.aggregation

## Class MetricAggregationQuery.Builder<T extends MetricAggregationQuery.Builder>

- java.lang.Object
- - com.enonic.xp.query.aggregation.AggregationQuery.Builder<MetricAggregationQuery.Builder>
  - - com.enonic.xp.query.aggregation.MetricAggregationQuery.Builder<T>

- Direct Known Subclasses:
    `MaxAggregationQuery.Builder`, `MinAggregationQuery.Builder`, `StatsAggregationQuery.Builder`, `ValueCountAggregationQuery.Builder`
  Enclosing class:
    MetricAggregationQuery

      public static class MetricAggregationQuery.Builder<T extends MetricAggregationQuery.Builder>
      extends AggregationQuery.Builder<MetricAggregationQuery.Builder>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder​(String name)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `fieldName​(String fieldName)` |

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

      `name`

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder​(String name)

  - ### Method Detail

    - #### fieldName

          public T fieldName​(String fieldName)