Package com.enonic.xp.query.aggregation

## Class BucketAggregationQuery.Builder<T>

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

- Direct Known Subclasses:
    `AbstractHistogramAggregationQuery.Builder`, `AbstractRangeAggregationQuery.Builder`, `TermsAggregationQuery.Builder`
  Enclosing class:
    BucketAggregationQuery

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `addSubQueries​(Iterable<AggregationQuery> aggregationQueries)` |
    `T` | `addSubQuery​(AggregationQuery aggregationQuery)` |

    - ### 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

    - #### addSubQuery

          public T addSubQuery​(AggregationQuery aggregationQuery)

    - #### addSubQueries

          public T addSubQueries​(Iterable<AggregationQuery> aggregationQueries)